diff --git a/pkg/r.d.ts b/pkg/r.d.ts index 27141f89..1323bc4c 100644 --- a/pkg/r.d.ts +++ b/pkg/r.d.ts @@ -29,6 +29,12 @@ export function wasm_parse_errors(args: any, input: string): (ParseError)[]; export function wasm_highlight(args: any, input: string): any[]; /** */ +export enum Experiment { + TailCalls = 0, + RestArgs = 1, +} +/** +*/ export enum Localization { En = 0, Es = 1, @@ -38,12 +44,6 @@ export enum Localization { Emoji = 5, } /** -*/ -export enum Experiment { - TailCalls = 0, - RestArgs = 1, -} -/** * Run the R REPL */ export class Cli { @@ -102,7 +102,7 @@ export interface InitOutput { readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; readonly __wbindgen_add_to_stack_pointer: (a: number) => number; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5f795ea032bd4d3b: (a: number, b: number, c: number, d: number, e: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3597e4fbcf8fb245: (a: number, b: number, c: number, d: number, e: number) => void; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; } diff --git a/pkg/r.js b/pkg/r.js index 4fc6f042..639502d4 100644 --- a/pkg/r.js +++ b/pkg/r.js @@ -157,7 +157,7 @@ function __wbg_adapter_28(arg0, arg1, arg2) { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len0 = WASM_VECTOR_LEN; - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5f795ea032bd4d3b(retptr, arg0, arg1, ptr0, len0); + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3597e4fbcf8fb245(retptr, arg0, arg1, ptr0, len0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v2; @@ -286,10 +286,10 @@ function handleError(f, args) { } /** */ -export const Localization = Object.freeze({ En:0,"0":"En",Es:1,"1":"Es",Zh:2,"2":"Zh",De:3,"3":"De",Pirate:4,"4":"Pirate",Emoji:5,"5":"Emoji", }); +export const Experiment = Object.freeze({ TailCalls:0,"0":"TailCalls",RestArgs:1,"1":"RestArgs", }); /** */ -export const Experiment = Object.freeze({ TailCalls:0,"0":"TailCalls",RestArgs:1,"1":"RestArgs", }); +export const Localization = Object.freeze({ En:0,"0":"En",Es:1,"1":"Es",Zh:2,"2":"Zh",De:3,"3":"De",Pirate:4,"4":"Pirate",Emoji:5,"5":"Emoji", }); const CliFinalization = (typeof FinalizationRegistry === 'undefined') ? { register: () => {}, unregister: () => {} } @@ -467,14 +467,14 @@ function __wbg_get_imports() { const ret = getStringFromWasm0(arg0, arg1); return addHeapObject(ret); }; - imports.wbg.__wbg_parseerror_new = function(arg0) { - const ret = ParseError.__wrap(arg0); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_number_new = function(arg0) { const ret = arg0; return addHeapObject(ret); }; + imports.wbg.__wbg_parseerror_new = function(arg0) { + const ret = ParseError.__wrap(arg0); + return addHeapObject(ret); + }; imports.wbg.__wbindgen_object_drop_ref = function(arg0) { takeObject(arg0); }; @@ -614,8 +614,8 @@ imports.wbg.__wbindgen_memory = function() { const ret = wasm.memory; return addHeapObject(ret); }; -imports.wbg.__wbindgen_closure_wrapper2089 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 666, __wbg_adapter_28); +imports.wbg.__wbindgen_closure_wrapper2435 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 893, __wbg_adapter_28); return addHeapObject(ret); }; diff --git a/pkg/r_bg.wasm b/pkg/r_bg.wasm index 823ece9d..b2d53f05 100644 Binary files a/pkg/r_bg.wasm and b/pkg/r_bg.wasm differ diff --git a/pkg/r_bg.wasm.d.ts b/pkg/r_bg.wasm.d.ts index 01187673..12331a75 100644 --- a/pkg/r_bg.wasm.d.ts +++ b/pkg/r_bg.wasm.d.ts @@ -20,6 +20,6 @@ export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; export function __wbindgen_add_to_stack_pointer(a: number): number; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5f795ea032bd4d3b(a: number, b: number, c: number, d: number, e: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3597e4fbcf8fb245(a: number, b: number, c: number, d: number, e: number): void; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void;