Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added helper method Parameter.cool_constant
Not intended to be used outside of the core. Returns the Cool value of a Parameter if it is a Cool constant. Otherwise returns Nil E.g.: sub a("foo") { }; dd &a.signature.params[0].cool_constant; # "foo" sub b($foo ) { }; dd &a.signature.params[0].cool_constant; # Nil
- Loading branch information