Closed
Description
This doesn't compile anymore
Removing one seq field from resource fixes it.
Example
type
Resource = ref object of RootObj
name: string
readers, writers: seq[RenderTask]
RenderTask = ref object
name: string
var res = Resource(name: "Resource 1")
(proc (r: typeof(res)) =
echo r[])(res)
Current Output
Error: internal error: getTypeDescAux(tyGenericParam)
Traceback (most recent call last)
...
Expected Output
Compilation successfull :)
Additional Information
- It was working just a few days ago, I'm still figuring out what broke it..
- This issue is blocking my project
$ nim -v
Nim Compiler Version #devel