Binary expression operator overloads for +/==; Check allocation flow in ternary expressions; Cache empty array buffers; Sealed decorator for non-derivable internals

This commit is contained in:
dcodeIO
2018-03-23 12:45:29 +01:00
parent 9cc0fcd611
commit 4adb69f73a
18 changed files with 5074 additions and 267 deletions

3
std/assembly.d.ts vendored
View File

@ -354,5 +354,8 @@ declare function operator(token: string): (target: any, propertyKey: string, des
/** Annotates a class as being unmanaged with limited capabilities. */
declare function unmanaged(target: Function): any;
/** Annotates a class as being sealed / non-derivable. */
declare function sealed(target: Function): any;
/** Annotates a class field with an explicit offset. */
declare function offset(offset: usize): any;