Still reproducible (2017.11,HEAD(e5b660e))

On 2015-09-18 12:12:49, zef...@fysh.org wrote:
> 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

Reply via email to