@@ -218,7 +218,7 @@ declare module "assemblyscript/src/diagnosticMessages.generated" {
218218 */
219219 /** Enum of available diagnostic codes. */
220220 export enum DiagnosticCode {
221- Not_implemented = 100 ,
221+ Not_implemented_0 = 100 ,
222222 Operation_is_unsafe = 101 ,
223223 User_defined_0 = 102 ,
224224 Feature_0_is_not_enabled = 103 ,
@@ -903,7 +903,6 @@ declare module "assemblyscript/src/tokenizer" {
903903 readHexadecimalEscape ( remain ?: number ) : string ;
904904 readUnicodeEscape ( ) : string ;
905905 private readExtendedUnicodeEscape ;
906- finish ( ) : void ;
907906 }
908907 /** Tokenizer state as returned by {@link Tokenizer#mark} and consumed by {@link Tokenizer#reset}. */
909908 export class State {
@@ -5161,15 +5160,19 @@ declare module "assemblyscript/src/compiler" {
51615160 /** Finalizes the virtual stub of the specified function. */
51625161 private finalizeVirtualStub ;
51635162 /** Makes a retain call, retaining the expression's value. */
5164- makeRetain ( expr : ExpressionRef ) : ExpressionRef ;
5163+ makeRetain ( expr : ExpressionRef , type : Type ) : ExpressionRef ;
51655164 /** Makes a release call, releasing the expression's value. Changes the current type to void.*/
5166- makeRelease ( expr : ExpressionRef ) : ExpressionRef ;
5165+ makeRelease ( expr : ExpressionRef , type : Type ) : ExpressionRef ;
51675166 /** Makes a replace, retaining the new expression's value and releasing the old expression's value, in this order. */
51685167 makeReplace (
51695168 /** New value being assigned. */
51705169 newExpr : ExpressionRef ,
5170+ /** The type of the new expression. */
5171+ newType : Type ,
51715172 /** Old value being replaced. */
51725173 oldExpr : ExpressionRef ,
5174+ /** The type of the old expression. */
5175+ oldType : Type ,
51735176 /** Whether the new value is already retained. */
51745177 alreadyRetained ?: boolean ) : ExpressionRef ;
51755178 /** Makes an autorelease call at the end of the specified `flow`. */
0 commit comments