Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Recursive module inclusion check incomplete #7779
Original bug ID: 7779
The following code does not type check:
Having dug into the issue, this appears to just be part of the incompleteness of the current inclusion check for recursive modules.
I don't expect it to be fixed unless the approach taken by that check is changed, but I thought I'd make this issue anyway to record it for posterity.
Comment author: @lpw25
For completeness, the following example is the one that I actually started looking at -- partly due to its dubious error message -- but the problem is the same as that of the more minimal example above: