# New Ticket Created by Zefram # Please include the string: [perl #126099] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126099 >
Basic introspection methods fail on the value Block but True: $ ./perl6 -e 'my $a = Block; say $a.WHICH; my $b = Block but True; say $b.WHICH' Block Cannot look up attributes in a type object in block <unit> at -e:1 Methods other than .WHICH fail too, such as .WHAT and .perl. The error message is obviously not generally correct, because these methods do work on other type objects. Not only on unmodified ones such as Block in the example above, but also on but-True modified ones for other classes such as Mu. -zefram