Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add "is DEPRECATED" trait to class/etc. (to be able to add todo tests)

  • Loading branch information...
commit fd3e6833d7144e9b14fa28978168617fabfcf19c 1 parent e13fa98
lizmat authored October 22, 2013

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. 5  src/core/traits.pm
5  src/core/traits.pm
@@ -23,6 +23,11 @@ multi trait_mod:<is>(Mu:U $child, Mu:U $parent) {
23 23
         ).throw;
24 24
     }
25 25
 }
  26
+multi trait_mod:<is>(Mu:U $child, :$DEPRECATED!) {
  27
+# add COMPOSE phaser for this child, which will add an ENTER phaser to an
  28
+# existing "new" method, or create a "new" method with a call to DEPRECATED
  29
+# and a nextsame.
  30
+}
26 31
 multi trait_mod:<is>(Mu:U $type, :$rw!) {
27 32
     $type.HOW.set_rw($type);
28 33
 }

0 notes on commit fd3e683

Please sign in to comment.
Something went wrong with that request. Please try again.