mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-15 14:31:51 +00:00
Move some numeric builtins to stdlib; Minor refactoring
This commit is contained in:
@ -2600,7 +2600,7 @@ export class FunctionPrototype extends Element {
|
||||
if (isInstance) {
|
||||
classInstance = assert(classPrototype).resolve(classTypeArguments, contextualTypeArguments); // reports
|
||||
if (!classInstance) return null;
|
||||
thisType = classInstance.type.asThis();
|
||||
thisType = classInstance.type;
|
||||
contextualTypeArguments.set("this", thisType);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user