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` widens `23` #11786

Open
som-snytt opened this issue Oct 30, 2019 · 0 comments

Comments

@som-snytt
Copy link

@som-snytt som-snytt commented Oct 30, 2019

Probably expected the precise type:

$ scala
Welcome to Scala 2.13.1 (OpenJDK 64-Bit Server VM, Java 11.0.3).
Type in expressions for evaluation. Or try :help.

scala> val x: 23 = 23
x: 23 = 23

scala> :type x
Int
@som-snytt som-snytt added the repl label Oct 30, 2019
@SethTisue SethTisue added this to the Backlog milestone Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.