This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 46e5208
committed
[Bug 14659] Test untyped variables are initialised to nothing
If you don't specify a type for an LCB variable, the type is inferred
to be `optional any`. `optional` types have `nothing` as their
default value. Therefore, untyped variables should be initialised to
`nothing`.1 parent 57bde4c commit 46e5208
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
0 commit comments