File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1973,7 +1973,8 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {
1973
1973
# Get lookup hint if possible.
1974
1974
my int $ hint := -1 ;
1975
1975
if $ var [1 ]. has_compile_time_value {
1976
- $ hint := nqp ::hintfor($ var [1 ]. compile_time_value, $ var . name );
1976
+ # disabled till we handle hints with multi-inheritance correctly
1977
+ # $hint := nqp::hintfor($var[1].compile_time_value, $var.name);
1977
1978
}
1978
1979
1979
1980
my $ suffix := self . suffix_from_type($ type );
Original file line number Diff line number Diff line change @@ -286,9 +286,11 @@ class QAST::OperationsJS {
286
286
287
287
my sub static_hint ($ node ) {
288
288
my int $ hint := -1 ;
289
- if $ node [1 ]. has_compile_time_value && nqp ::istype($ node [2 ], QAST ::SVal) {
290
- $ hint := nqp ::hintfor($ node [1 ]. compile_time_value, $ node [2 ]. value );
291
- }
289
+
290
+ # disabled till we handle hints with multi-inheritance correctly
291
+ # if $node[1].has_compile_time_value && nqp::istype($node[2], QAST::SVal) {
292
+ # $hint := nqp::hintfor($node[1].compile_time_value, $node[2].value);
293
+ # }
292
294
293
295
$ hint != -1 ?? $ hint !! NQPMu;
294
296
}
You can’t perform that action at this time.
0 commit comments