Initial element access compilation; Carefully approaching std array

This commit is contained in:
dcodeIO
2018-01-13 23:38:07 +01:00
parent dd596b015d
commit 2c009c67d3
21 changed files with 9914 additions and 88 deletions

View File

@ -363,12 +363,12 @@ export abstract class Node {
stmt.decoratorKind = DecoratorKind.OPERATOR;
break;
case "struct":
stmt.decoratorKind = DecoratorKind.STRUCT;
case "explicit":
stmt.decoratorKind = DecoratorKind.EXPLICIT;
break;
case "size":
stmt.decoratorKind = DecoratorKind.SIZE;
case "offset":
stmt.decoratorKind = DecoratorKind.OFFSET;
break;
default:
@ -1382,8 +1382,8 @@ export const enum DecoratorKind {
CUSTOM,
GLOBAL,
OPERATOR,
STRUCT,
SIZE
EXPLICIT,
OFFSET
}
/** Depresents a decorator. */