Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better error messages for unsupported tables #19

Open
ire4ever1190 opened this issue Jun 4, 2023 · 0 comments
Open

Better error messages for unsupported tables #19

ire4ever1190 opened this issue Jun 4, 2023 · 0 comments
Assignees

Comments

@ire4ever1190
Copy link
Owner

Tables like this are not supported

type
  Item = object
    name: string
    when not defined(release):
      debugInfo: string

Since there is no way for us to tell if the property should be included in the table or not (Might be possible, but imo would be annoying to implement)

Currently this fails with just a stack trace, error message should be improved to properly tell the user what is wrong. Will implement this once the new testing system from #7 is implemented that allows us to check error messages

@ire4ever1190 ire4ever1190 self-assigned this Jun 4, 2023
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

No branches or pull requests

1 participant