Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Printtyp: avoid stack overflow when printing constructors or records
Toplevel functions exported by the Printtyp should in general prepare all types involved in the printing. The toplevel `constructor`, `label` and `extension_only_constructor` functions didn't prepare their arguments and return types making the printer loops on such types.
- Loading branch information
Showing
3 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters