File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -282,7 +282,7 @@ class CPUFunctionNode extends FunctionNode {
282
282
astAssignmentExpression ( assNode , retArr ) {
283
283
const declaration = this . getDeclaration ( assNode . left ) ;
284
284
if ( declaration && ! declaration . assignable ) {
285
- throw new this . astErrorOutput ( `Variable ${ assNode . left . name } is not assignable here` , assNode ) ;
285
+ throw this . astErrorOutput ( `Variable ${ assNode . left . name } is not assignable here` , assNode ) ;
286
286
}
287
287
this . astGeneric ( assNode . left , retArr ) ;
288
288
retArr . push ( assNode . operator ) ;
Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ class WebGLFunctionNode extends FunctionNode {
743
743
astAssignmentExpression ( assNode , retArr ) {
744
744
const declaration = this . getDeclaration ( assNode . left ) ;
745
745
if ( declaration && ! declaration . assignable ) {
746
- throw new this . astErrorOutput ( `Variable ${ assNode . left . name } is not assignable here` , assNode ) ;
746
+ throw this . astErrorOutput ( `Variable ${ assNode . left . name } is not assignable here` , assNode ) ;
747
747
}
748
748
// TODO: casting needs implemented here
749
749
if ( assNode . operator === '%=' ) {
You can’t perform that action at this time.
0 commit comments