Skip to content

Fix erroneous spelling of "illegal" in the codebase#78

Open
pzel wants to merge 1 commit intosmlsharp:masterfrom
pzel:typo-fix
Open

Fix erroneous spelling of "illegal" in the codebase#78
pzel wants to merge 1 commit intosmlsharp:masterfrom
pzel:typo-fix

Conversation

@pzel
Copy link
Copy Markdown

@pzel pzel commented Jul 27, 2023

As I was working through 「SML#で始める実践MLプログラミング」 I tried creating a record with field names such as

{ 01_foo = someVal .. }

Apparently field names cannot start with 0, but the error I got was:

% make && ./main
smlsharp -O2 -o main.o -c main.sml
main.sml:12.4(211)-12.5(212) Error: illeagal _ keyword

The correct spelling is illegal.

I dug deeper and found the string illeagal consistently used across the codebase. This PR addresses all the instances I was able to track down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant