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

isBoolean\1 type error #22

Open
klkblake opened this issue Nov 19, 2014 · 2 comments
Open

isBoolean\1 type error #22

klkblake opened this issue Nov 19, 2014 · 2 comments

Comments

@klkblake
Copy link
Contributor

So, the typechecker is finally approaching the point of actual usefulness. I'm picking up 77 type errors in the dictionary, though I know at least some of those are definitely type checker issues. One I have verified is isBoolean\1. The final opcode is "l" when from context it should clearly be "c".
Most of the type errors I'm picking up are in the bst/rbt/t23 words. It looks like, from what I can see, the bst sealer code has a bug. raw.empty.bst produces a type with a sum inside a pair inside a pair, whereas the sealer expects a three-level deep pair structure. But these could just be type checker issues.

dmbarbour added a commit that referenced this issue Nov 19, 2014
@dmbarbour
Copy link
Owner

The toBoolean\1 was definitely a type error. Thanks. :)

I wouldn't be surprised to find type errors in the bst/rbt/etc. code. That's the most complicated code in the dictionary at the moment. But I'm not seeing any problems with raw.empty.bst or empty.bst.

@klkblake
Copy link
Contributor Author

Yeah, the toBoolean\1 was the only one I was sure about.

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

2 participants