Skip to content

Commit

Permalink
Add stubs for "is dynamic" and "is context", so at least they don't b…
Browse files Browse the repository at this point in the history
…omb like before
  • Loading branch information
lizmat committed Jul 26, 2013
1 parent c428a37 commit 7b901bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/core/Variable.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ multi trait_mod:<is>(Variable:D $v, :$readonly!) {
multi trait_mod:<is>(Variable:D $v, :$rw!) {
nqp::getattr($v.var, $v.VAR.WHAT, '$!descriptor').set_rw($rw);
}
multi trait_mod:<is>(Variable:D $v, :$dynamic!) {
# not sure what needs to happen here yet
}
multi trait_mod:<is>(Variable:D $v, :$context!) {
# unspecced, but spectested
}

0 comments on commit 7b901bd

Please sign in to comment.