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

NaN is a new builtin type #5744

Closed
wants to merge 11 commits into from
Prev Previous commit
Next Next commit
Nan is a separate builtin type
Akirathan committed Feb 23, 2023
commit ccceb23eb84f1ebc3787e74dbb958ee7734d5bbf
Original file line number Diff line number Diff line change
@@ -257,7 +257,7 @@ private static TypeGraph buildTypeHierarchy() {
graph.insert(ConstantsGen.ARRAY, ConstantsGen.ANY);
graph.insert(ConstantsGen.BOOLEAN, ConstantsGen.ANY);
graph.insert(ConstantsGen.DECIMAL, ConstantsGen.NUMBER);
graph.insert(ConstantsGen.NAN, ConstantsGen.NUMBER);
graph.insert(ConstantsGen.NAN, ConstantsGen.DECIMAL);
graph.insert(ConstantsGen.ERROR, ConstantsGen.ANY);
graph.insert(ConstantsGen.FUNCTION, ConstantsGen.ANY);
graph.insert(ConstantsGen.INTEGER, ConstantsGen.NUMBER);