-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Right now, there’s no way for a native function to signal a runtime error. In a real implementation, this is something we’d need to support because native functions live in the statically typed world of C but are called from dynamically typed Lox land. If a user, say, tries to pass a string to sqrt(), that native function needs to report a runtime error.
Metadata
Metadata
Assignees
Labels
No labels