You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@polygonplanet I noticed this parser is not 100% Harmony compatible?
I tried a few different comboes, and they all failed for me.
//-function*wrap(){\n(a=yieldb)\n}//-asyncfunctionfoo(){}//- a reference and a normal function declaration if there is a linebreak between 'async' and 'function'.async\nfunctionfoo(){}//- exportasyncfunctionfoo(){}//-exportdefaultasyncfunction(){}//- 'await' is valid as function names.asyncfunctionawait(){}//- async === true(asyncfunctionfoo(){})//- export defaultexportdefault(asyncfunction(){})//- asynca=>a//-async()=>a//-async(await)//-asyncyield=>1//-({asyncfoo(){}})//-({asyncawait(){}})// -({x(...[a,b]){}})// -({x({a: { w, x },b: [y,z]}, ...[a,b,c]){}})//-(...a)=>{}//-(a, ...b)=>{}//-({ a })=>{}//-({ a }, ...b)=>{}//-({a: [a,b]}, ...c)=>{}//-({a: b, c },[d,e], ...f)=>{}//-[a, ...[b,c]]=d//-var[a, ...[b,c]]=d//-func(...a)//-func(a, ...b)//-func(...a,b)//-/[a-z]/u//-({x =0})=>x//-({*yield(){}})//-classA{static(){}}//-
'`${/\\d/.exec('1')[0]}`// unknown '1'//-varawait=0//-(([,])=>0//-function*yield(){}// yield as function name//-function*foo(a=function*(b){yieldb}){}
The text was updated successfully, but these errors were encountered:
ghost
changed the title
Breaks with ES5 - Harmony specs
Breaks with ES6 - Harmony specs
Nov 17, 2016
@polygonplanet I noticed this parser is not 100% Harmony compatible?
I tried a few different comboes, and they all failed for me.
The text was updated successfully, but these errors were encountered: