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

Are errors ever reported? #10

Open
samuelgoto opened this issue Jul 11, 2017 · 0 comments
Open

Are errors ever reported? #10

samuelgoto opened this issue Jul 11, 2017 · 0 comments

Comments

@samuelgoto
Copy link
Owner

@erights: What does it mean to erase? What happens in the following scenarios?

var x: TYPE_THAT_DOES_NOT_EXIST = 1; // Does this throw an Error?
var y: ARE_ANY_CHARACTERS_ALLOWED< = 2; // does this?
var z: WOULD_INTERPRETERS_CHECK_IF_THIS_WAS_DEFINED_PREVIOUSLY = 3; // should this?

@erights: observe that, performing these checks doesn't necessarily #breaktheweb, since you are introducing new syntax.

@samuelgoto: oh, interesting observation, since NOT throwing a parsing error here means that we won't be able to throw a parsing error EVER, cornering ourselves. so, we kind of have to make a decision on whether we reserve the right to throw or not early on.

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