Skip to content

Commit

Permalink
Annotate that the ERROR macro terminates execution (AssemblyScript#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO authored Jul 11, 2021
1 parent b95886d commit f95ee44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/assembly/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ declare const F64: typeof _Float;
// User-defined diagnostic macros

/** Emits a user-defined diagnostic error when encountered. */
declare function ERROR(message?: any): void;
declare function ERROR(message?: any): never;
/** Emits a user-defined diagnostic warning when encountered. */
declare function WARNING(message?: any): void;
/** Emits a user-defined diagnostic info when encountered. */
Expand Down

0 comments on commit f95ee44

Please sign in to comment.