Closed BrianHicks closed 1 year ago
@ayazhafiz I feel like you might know right away what this could be—does it seem familiar?
further messing around:
job : Input -> Job
, you'll still get the stack overflowjob : Job -> Job
, you won'tI have a good idea of what it is, but how to resolve it has eluded us for a while. I think this may be the same as https://github.com/roc-lang/roc/issues/3216. I'll take a closer look tomorrow!
If you have this file:
On running
roc check
, you'll get a stack overflow or a bus error (depending on build type.)If you remove the
Job
member of theFromJob
tag, or the type annotation forjob
, the error goes away. I guessFromProjectSource
is not strictly required either (the error still happens without it) but I did all my testing with that in place so into the bug report it goes!This is true as of da75f55aeacc18b452d3e359557599e1c1eca006, but I tested back to 3a12aa26ccb347a2374c01e960d37f77b8b3b8b0 and the bug is present.