async method fix
This commit is contained in:
parent
5c9e1fd088
commit
8037da356a
|
|
@ -435,7 +435,7 @@ Future plans
|
||||||
class A {
|
class A {
|
||||||
|
|
||||||
int a = 123;
|
int a = 123;
|
||||||
readonly String about = "class";
|
String about = "class";
|
||||||
|
|
||||||
$("button").click(() => console.log("Button Clicked!"));
|
$("button").click(() => console.log("Button Clicked!"));
|
||||||
|
|
||||||
|
|
@ -459,7 +459,7 @@ Future plans
|
||||||
about = "ups!";
|
about = "ups!";
|
||||||
}
|
}
|
||||||
|
|
||||||
get some => "some " + about;
|
get some() => "some " + about;
|
||||||
set some(val) => about += val;
|
set some(val) => about += val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -473,8 +473,6 @@ Future plans
|
||||||
alert(some);
|
alert(some);
|
||||||
}
|
}
|
||||||
|
|
||||||
int operator[](int index) => index + 584;
|
|
||||||
operator[]=(int index, int val) => x = index + val;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -482,8 +482,6 @@ Cola.DefFunWithMods = function(func, mods){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mods.indexOf("async") != -1) func = Cola.FuncAsync(func);
|
|
||||||
|
|
||||||
var sname = func.name, dp = { properties : [
|
var sname = func.name, dp = { properties : [
|
||||||
new Cola.AST_ObjectKeyVal({
|
new Cola.AST_ObjectKeyVal({
|
||||||
key : (function(node){
|
key : (function(node){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user