[perl #126127] [LTA] undefined type qualifiers ignored

2016-05-08 Thread Christian Bartolomaeus via RT
There is a test in S06-parameters/smiley.t that the code

  sub a(Int:foo $a) { $a }

fails with X::InvalidTypeSmiley. I'm closing this ticket as 'resolved'.


[perl #126127] [LTA] undefined type qualifiers ignored

2015-09-20 Thread via RT
# New Ticket Created by  Zefram 
# Please include the string:  [perl #126127]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=126127 >


$ ./perl6 -e 'sub aa (Mu:wibble $a) { }; say "hi"'
hi

The :wibble, having no defined meaning, is being silently ignored.
That's less than awesome.  It should signal an error, to catch typos and
to avoid programs quietly changing meaning when a qualifier is defined
in the future.

-zefram