diff options
Diffstat (limited to 'Chalice/tests/regressions/internal-bug-6.chalice')
-rw-r--r-- | Chalice/tests/regressions/internal-bug-6.chalice | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Chalice/tests/regressions/internal-bug-6.chalice b/Chalice/tests/regressions/internal-bug-6.chalice new file mode 100644 index 00000000..b02c1a65 --- /dev/null +++ b/Chalice/tests/regressions/internal-bug-6.chalice @@ -0,0 +1,10 @@ +class Cell {
+
+ function foo(): Cell
+ { this }
+
+ method m(b: bool)
+ {
+ var c: Cell := b ? null : foo()
+ }
+}
|