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
<moritz> m: class A is CORE::Int { }
<camelia> rakudo-moar 5d8e96: OUTPUT«===SORRY!===Could not locate
compile-time value for symbol CORE::Int»
<moritz> that's a bug (or at least LTA), right?
<TimToady> m: { supersede class Int is OUTERS::Int { method flurb() 42
}; say 5.flurb }; say 5.flurb;
<camelia> rakudo-moar 5d8e96: OUTPUT«===SORRY!===Could not locate
compile-time value for symbol OUTERS::Int»
<TimToady> so it would seem
<moritz> m: class A is CORE::<Int> { }
<camelia> rakudo-moar 5d8e96: OUTPUT«===SORRY!===Could not locate
compile-time value for symbol CORE»
* moritz submits
It seems none of the pseudo-package forms can currently be used in a
place where a compile-time value is expected, which is unfortunate. At
least CORE, OUTER and OUTERS are known at compile time, and referencing
a constant in one of them should be also possible at compile time
Migrated from rt.perl.org#126384 (status was 'new')
Searchable as RT126384$
The text was updated successfully, but these errors were encountered: