Skip to content

Commit

Permalink
Improve GH #1226 workaround suggestion, Zoffix++
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 2, 2017
1 parent 0973b30 commit 6dab5aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Perl6/Metamodel/BUILDPLAN.nqp
Expand Up @@ -50,11 +50,9 @@ role Perl6::Metamodel::BUILDPLAN {
workaround =>
"Create/Adapt TWEAK method in class "
~ $obj.HOW.name($obj)
~ ", e.g:\n method TWEAK() \{ "
~ ", e.g:\n method TWEAK(:"
~ $_.name
~ " = (initial values) unless %_<"
~ nqp::substr($_.name,2)
~ ">:exists }"
~ ' = (initial values)) { }'
).throw;
}
}
Expand Down

0 comments on commit 6dab5aa

Please sign in to comment.