Commit deb79f8
committed
Fixes a segmentation fault for unnamed declarations.
An example is:
```
func: (t: int, f) = {
f(t + 2);
}
main: () = {
x: int = 4;
// :(v) = ... causes the error.
func(x, :(v) = std::cout << "Value: " << v << std::endl);
}
```1 parent b88b194 commit deb79f8
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments