mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-06 01:52:04 +00:00
Support parsing of class expressions, see #161
This commit is contained in:
@ -2379,7 +2379,10 @@ export class Compiler extends DiagnosticEmitter {
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
assert(false);
|
||||
this.error(
|
||||
DiagnosticCode.Operation_not_supported,
|
||||
expression.range
|
||||
);
|
||||
expr = this.module.createUnreachable();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user