Skip to content

Issue 126 - clean up error messages#146

Merged
lutzhamel merged 1 commit intodev-1.0.0from
issue-126
Mar 28, 2022
Merged

Issue 126 - clean up error messages#146
lutzhamel merged 1 commit intodev-1.0.0from
issue-126

Conversation

@lutzhamel
Copy link
Copy Markdown
Collaborator

Cleaned up all error message. For example, the program,

load system io.

let x = 1
io @println "hello".

now issues the message,

Error: msg.ast: 3: term '1' is not a function, did you forget the end-of-line period?

and the program,

function foo with x:%integer do
   return x.
end

foo("hello").

now issues the message,

Error: msg1.ast: 1: actual argument 'hello' not recognized by function 'foo'

@lutzhamel lutzhamel requested review from TimColaneri and olwmc March 27, 2022 17:50
Copy link
Copy Markdown
Collaborator

@TimColaneri TimColaneri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@lutzhamel lutzhamel merged commit 449731e into dev-1.0.0 Mar 28, 2022
@lutzhamel lutzhamel deleted the issue-126 branch March 28, 2022 11:00
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.

2 participants