45
45
import org .perl6 .nqp .dsl .Deserializer ;
46
46
import org .perl6 .nqp .truffle .nodes .NQPNode ;
47
47
import org .perl6 .nqp .truffle .nodes .NQPBlockBodyNode ;
48
+ import org .perl6 .nqp .truffle .nodes .expression .NQPNullNode ;
48
49
import org .perl6 .nqp .truffle .nodes .control .NQPBlockNode ;
49
50
import org .perl6 .nqp .truffle .nodes .control .NQPStaticBlockNode ;
50
51
import org .perl6 .nqp .truffle .nodes .control .NQPForcedOuterBlockNode ;
@@ -119,8 +120,8 @@ public static NQPScope declareLexical(NQPScope scope, long type, String name) {
119
120
}
120
121
121
122
@ Deserializer ("declare-lexical" )
122
- public static NQPNode createDeclareLexical (NQPScope scope , long type , String name , NQPNode inner ) {
123
- return inner ;
123
+ public static NQPNode createDeclareLexical (NQPScope scope , long type , String name ) {
124
+ return new NQPNullNode () ;
124
125
}
125
126
126
127
@ Predeserializer ("declare-local" )
@@ -130,8 +131,8 @@ public static NQPScope declareLocal(NQPScope scope, long type, String name) {
130
131
}
131
132
132
133
@ Deserializer ("declare-local" )
133
- public static NQPNode createDeclareLocal (NQPScope scope , long type , String name , NQPNode inner ) {
134
- return inner ;
134
+ public static NQPNode createDeclareLocal (NQPScope scope , long type , String name ) {
135
+ return new NQPNullNode () ;
135
136
}
136
137
137
138
@ Predeserializer ("comp-unit" )
0 commit comments