diff --git a/test/fail/clash.as b/test/fail/clash.as new file mode 100644 index 00000000000..fafa57fd7cb --- /dev/null +++ b/test/fail/clash.as @@ -0,0 +1,12 @@ +func foo() { }; // <-- removing this definition avoids the compiler exception + +actor class Test() = this { // <-- removing this stuff around the inner block avoids compiler exception + go() { + ignore(async + { + let x = 123; + let x = 123; + } + ) + } +};