add some more explanation to the ::Delta entries
[gitmo/Moose.git] / TODO
diff --git a/TODO b/TODO
index 53134b6..ed51e5d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -2,7 +2,27 @@
 
 === RT Tickets
 
-RT#67731 - Union types reports spurious parent types - https://rt.cpan.org/Ticket/Display.html?id=67731
+RT#67731 - Union types reports spurious parent types -
+https://rt.cpan.org/Ticket/Display.html?id=67731
+
+RT#59478/RT#63000 - 0+ overload causes NV conversion on == on perls before
+5.14 - this causes comparisons to fail when the number can't fit in an NV
+without precision loss. I'd like to fix this in a more general way (forcing
+anyone else who might be using == on tc objects to do weird things isn't very
+good), although it's hard to test to see what actually works.
+
+RT#69839 - UNIVERSAL methods should show up as methods, so things like method
+modifiers work
+
+=== Register implicitly created class/role types
+
+When you do has foo => (isa => 'Bar'), it returns a class_type for Bar, but
+doesn't register it. This means that later you can declare "subtype 'Bar', as
+'Str', ..." and it'll work, and later instances of the 'Bar' type will use that
+one. We should register the implicitly created ones so that trying to redefine
+it after it's used throws an error.
+
+== Todo for 2.0600
 
 === Revise MetaRole API to reunify class/role metaroles:
 
@@ -35,13 +55,7 @@ Moose extensions that work by calling Moose->init_meta(metaclass =>
 deprecated, so they can be removed later (this should fix the issues with
 init_meta generation in Moose::Exporter, see RT51561)
 
-=== Register implicitly created class/role types
-
-When you do has foo => (isa => 'Bar'), it returns a class_type for Bar, but
-doesn't register it. This means that later you can declare "subtype 'Bar', as
-'Str', ..." and it'll work, and later instances of the 'Bar' type will use that
-one. We should register the implicitly created ones so that trying to redefine
-it after it's used throws an error.
+This needs to wait until the previous fix gets in, since it will hopefully eliminate the need to write custom init_meta methods entirely.
 
 === Attributes in roles need to be able to participate in role composition
 
@@ -84,9 +98,17 @@ namespace::autoclean to not break things.
 
 Also, MooseX::Role::WithOverloading should probably be cored.
 
+This should probably also wait for the metarole unification fix, to avoid the
+::WithOverloading stuff being too insane.
+
 
 == Todo for later
 
+=== has +foo in roles
+
+There's no actual reason for this not to work, and it gets asked often enough
+that we really should just do it at some point.
+
 === Actual API for metaclass extensions
 
 Right now, the only way to bundle multiple metaclass traits is via
@@ -135,6 +157,34 @@ that people would think to use first is the method that they actually mean.
 Something like renaming find_method_by_name to find_method, and get_method to
 find_local_method or something along those lines.
 
+=== use Sub::Identify instead of doing our own thing with get_code_info
+
+No idea why we stopped using Sub::Identify in the past, but there's no reason
+not to do this. We have a bug fix in our version (the isGV_with_GP thing), so
+this should be submitted to Sub::Identify first.
+
+=== Move method modifiers out to an external module
+
+Class::Method::Modifiers uses a different method for doing method modifiers,
+which I'm not sure why we aren't using in Moose right now. Optionally using
+Class::Method::Modifiers::Fast would be even better - it uses Data::Util to
+implement XS method modifiers, which could help things a lot.
+
+=== Move type constraints out to an external module
+
+There's nothing about our type constraint system that requires being tied to
+Moose - it's conceptually an entirely separate system that Moose just happens
+to use. Splitting it out into its own thing (that Moose could extend to add
+things like role types) would make things conceptually a lot cleaner, and would
+let people interested in just the type system have that.
+
+=== Merge Class::MOP and Moose
+
+This is a long term goal, but would allow for a lot of things to be cleaned up.
+There's a bunch of stuff that's duplicated, and other stuff that's not
+implemented as well as it could be (Class::MOP::Method::Wrapped should be a
+role, for instance).
+
 
 == Things to contemplate