Skip to content

ast-util should not raise strings, but should raise message-exceptions #848

Open
@blerner

Description

@blerner

Every use of raise("some string") renders an error box with

"some string"
(Show program execution trace...)

It would be better to raise(message-exception("some string")), which would render an error box as

some string
(Show program execution trace...)

(And it would be better still for the compiler to raise proper error values rather than just message exceptions, but this would be a good start.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions