mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-02 08:01:48 +00:00
Fix contextual type argument propagation when calling function expressions; Implement indirect calls to concrete functions
This commit is contained in:
@ -1892,7 +1892,7 @@ export class Program extends DiagnosticEmitter {
|
||||
if (element && element.kind == ElementKind.FUNCTION_PROTOTYPE) {
|
||||
let instance = (<FunctionPrototype>element).resolveUsingTypeArguments(
|
||||
(<CallExpression>expression).typeArguments,
|
||||
null,
|
||||
contextualFunction.contextualTypeArguments,
|
||||
expression
|
||||
);
|
||||
if (instance) {
|
||||
|
Reference in New Issue
Block a user