-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates the name generation to always add a trailing underscore for the following reasons: 1. There are some missing keywords - for example, a custom type named `Null` will crash motif since it will try to name the function `null()`, it seems that adding to the list is not as safe as always append 2. Motif append a `2` (or `3` and so on) to a function name to avoid collision, so a type whose name ends with a `2` e.g. `Function2` will have its name `Function22` (or `Function23` and so on) - it's not wrong, but reads a bit funny
- Loading branch information
1 parent
64eb967
commit 34c49be
Showing
3 changed files
with
23 additions
and
75 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