# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #126384]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126384 >


<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

Reply via email to