mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-10 12:01:53 +00:00
Fix compilation of immediate called function expressions
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import {
|
||||
Class
|
||||
Class,
|
||||
FunctionTarget
|
||||
} from "./program";
|
||||
|
||||
import {
|
||||
@ -452,6 +453,8 @@ export class Signature {
|
||||
thisType: Type | null;
|
||||
/** Whether the last parameter is a rest parameter. */
|
||||
hasRest: bool;
|
||||
/** Cached {@link FunctionTarget}. */
|
||||
cachedFunctionTarget: FunctionTarget | null = null;
|
||||
|
||||
constructor(
|
||||
parameterTypes: Type[] | null = null,
|
||||
|
Reference in New Issue
Block a user