You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ perl6 -e 'class NotComposed { has &.func = ~*; }; class IsRat does
Rational[Int,Int] { has &.func = ~* }; class IsReal does Real { has &.func
= ~* }; say "In NotComposed, func={NotComposed.new.func.perl}"; say "In
IsRat, func={IsRat.new.func.perl}"; say "In IsReal,
func={IsReal.new.func.perl}"'
In NotComposed, func={ ... }
In IsRat, func=Callable
In IsReal, func={ ... }
Expected all three lines of output to indicate the same value.
I suspect the Rational.new method's nqp::create call is doing something
unfriendly at:
Migrated from rt.perl.org#128794 (status was 'new')
Searchable as RT128794$
The text was updated successfully, but these errors were encountered: