mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 18:01:31 +00:00
Move 'abort' out of builtins and make it overridable
Now defaults to 'env.abort' as imported in lib/env.ts, but can be overridden through '--use abort=someThingElseOrNothingAtAll'
This commit is contained in:
@ -78,13 +78,6 @@ export declare function changetype<T>(value: void): T;
|
||||
|
||||
export declare function assert<T>(isTrueish: T, message?: string): T;
|
||||
|
||||
export declare function abort(
|
||||
message?: string | null,
|
||||
fileName?: string | null,
|
||||
lineNumber?: u32,
|
||||
columnNumber?: u32
|
||||
): void;
|
||||
|
||||
export declare function unchecked<T>(expr: T): T;
|
||||
|
||||
export declare function i8(value: void): i8;
|
||||
|
Reference in New Issue
Block a user