Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

null type checking for numbers #27

Closed
jmesserly opened this issue Jan 21, 2015 · 1 comment
Closed

null type checking for numbers #27

jmesserly opened this issue Jan 21, 2015 · 1 comment

Comments

@jmesserly
Copy link
Contributor

the JS codegen would like to assume non-null for some types. This is especially true for numbers, but also may include other primitive types (bool, string). For arbitrary objects, it would also be nice to codegen obj.x ... otherwise we'd have to potentially check for null in some cases for that too. (we can likely avoid if the result has a further invocation)

@jmesserly jmesserly added the js label Jan 29, 2015
@jmesserly
Copy link
Contributor Author

I think @vsmenon implemented this now. so closing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant