I'm at commit 764661230bf8524b48c62248fc2ed41803c675ea.
This isn't the assert I mentioned in discord, but another I ran into when trying to minimize a reproduction.
Here's the assertion:
Assertion failed: false, file C:\src\lobster\dev\src\lobster\codegen.h, line 189
The code that reproduces it.
class brush_area:
clusters = []
private let py_triggers = [] :: brush_area
Just giving clusters a type makes the assertion go away. Or adding code that uses clusters in a way that resolves the type, which is why my original file doesn't see that assert.
Something about the py_triggers line contributes. If I replace that with a print(brush_area{}) or some other use of the type, there's no assertion.
I'm at commit 764661230bf8524b48c62248fc2ed41803c675ea.
This isn't the assert I mentioned in discord, but another I ran into when trying to minimize a reproduction.
Here's the assertion:
The code that reproduces it.
Just giving clusters a type makes the assertion go away. Or adding code that uses clusters in a way that resolves the type, which is why my original file doesn't see that assert.
Something about the py_triggers line contributes. If I replace that with a
print(brush_area{})
or some other use of the type, there's no assertion.