@@ -41,6 +41,7 @@ func TestEmit(t *testing.T) {
41
41
{title : "PropertyAccess#9" , input : `0o1.b` , output : `0o1.b;` },
42
42
{title : "PropertyAccess#10" , input : `10e1.b` , output : `10e1.b;` },
43
43
{title : "PropertyAccess#11" , input : `10E1.b` , output : `10E1.b;` },
44
+ {title : "PropertyAccess#12" , input : `a.b?.c` , output : `a.b?.c;` },
44
45
{title : "ElementAccess#1" , input : `a[b]` , output : `a[b];` },
45
46
{title : "ElementAccess#2" , input : `a?.[b]` , output : `a?.[b];` },
46
47
{title : "ElementAccess#3" , input : `a?.[b].c` , output : `a?.[b].c;` },
@@ -56,6 +57,7 @@ func TestEmit(t *testing.T) {
56
57
{title : "CallExpression#10" , input : `a?.<T>(b).c` , output : `a?.<T>(b).c;` },
57
58
{title : "CallExpression#11" , input : `a<T, U>()` , output : `a<T, U>();` },
58
59
{title : "CallExpression#12" , input : `a<T,>()` , output : `a<T,>();` },
60
+ {title : "CallExpression#13" , input : `a?.b()` , output : `a?.b();` },
59
61
{title : "NewExpression#1" , input : `new a` , output : `new a;` },
60
62
{title : "NewExpression#2" , input : `new a.b` , output : `new a.b;` },
61
63
{title : "NewExpression#3" , input : `new a()` , output : `new a();` },
0 commit comments