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

Type inference doesn't run on newly loaded programs #303

Closed
cdsmith opened this issue Sep 1, 2016 · 2 comments
Closed

Type inference doesn't run on newly loaded programs #303

cdsmith opened this issue Sep 1, 2016 · 2 comments
Labels
bug funblocks http://code.world/blocks

Comments

@cdsmith
Copy link
Collaborator

cdsmith commented Sep 1, 2016

Load https://code.world/blocks#PfpEFNZWP293aHmHnyFjZsA

There are a bunch of type connections that render overly general types. You have to disconnect and reconnect a few things before the inference algorithm will run.

@stefaj
Copy link
Contributor

stefaj commented Sep 1, 2016

Oops. The inference runs (can be seen by dragging out x, I just forgot to redraw the workspace afterwards

@stefaj
Copy link
Contributor

stefaj commented Sep 1, 2016

Nevermind, I am redrawing the workspace.
I think its due to the error:

blockly_compressed.js:1205 Uncaught Types do not match, when trying to type Number

I think I fixed this in the newer one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug funblocks http://code.world/blocks
Projects
None yet
Development

No branches or pull requests

2 participants