[Bug]: Invalid type inferring for literal expression #37750
Labels
Area/TypeChecker
Type Checker related issues #Compiler
Points/4
Equivalent to four day effort
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
userCategory/Compilation
Description
Even if this example fails, the type of
3
is inferred asint
. But it should be a float.Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: