mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-14 15:31:31 +00:00
Support 'this' in static functions, fixes #45; Fix propagation of 'ambient' flag
This commit is contained in:
@ -4,9 +4,9 @@ declare const externalConstant: i32;
|
||||
externalFunction();
|
||||
assert(externalConstant == 1);
|
||||
|
||||
namespace my {
|
||||
export declare function externalFunction(): void;
|
||||
export declare const externalConstant: i32;
|
||||
declare namespace my {
|
||||
function externalFunction(): void;
|
||||
const externalConstant: i32;
|
||||
}
|
||||
|
||||
my.externalFunction();
|
||||
|
Reference in New Issue
Block a user