Assignment to an undeclared dynamic variable fails now with a typed exception 
"X::Dynamic::NotFound" and an adequate error message:

$ perl6 -e '$*x = 42'
Dynamic variable $*x not found
  in method <anon> at src/gen/m-CORE.setting:14595
  in any find_method_fallback at src/gen/m-Metamodel.nqp:2741
  in any find_method at src/gen/m-Metamodel.nqp:988
  in block <unit> at -e:1

There is a (passing) test in S32-exceptions/misc.t -- added with commit 
https://github.com/perl6/roast/commit/5cea4946ce

I'm closing this ticket now.

Reply via email to