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 - no error details #4556

Closed
scabug opened this issue May 9, 2011 · 3 comments
Closed

:type - no error details #4556

scabug opened this issue May 9, 2011 · 3 comments
Assignees

Comments

@scabug
Copy link

scabug commented May 9, 2011

=== What steps will reproduce the problem (please be specific and use wikiformatting)? ===

ashee:~ amitava$$ scala 
Welcome to Scala version 2.9.0.RC4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24).
Type in expressions to have them evaluated.
Type :help for more information.

scala> :t (List[1,2,3])
Failed to determine type.

=== What is the expected behavior? ===

=== What do you see instead? ===

=== Additional information ===
This was discussed in the mailing list and fixed by extempore in RC3 - see changeset https://lampsvn.epfl.ch/trac/scala/changeset/24867

See mailing list - https://groups.google.com/d/topic/scala-language/XjOh3xvopjI/discussion

=== What versions of the following are you using? ===

  • Scala: 2.9.0.RC4
  • Java: Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_24
  • Operating system: Darwin Kernel Version 10.7.0
@scabug
Copy link
Author

scabug commented May 9, 2011

Imported From: https://issues.scala-lang.org/browse/SI-4556?orig=1
Reporter: Amitava Shee (amitava)

@scabug
Copy link
Author

scabug commented May 9, 2011

@harrah said:
This is not a regression, just that you used '[]' instead of '()', so the expression isn't valid.

scala> :t (List(1,2,3))
List[Int]

This might instead be reclassified as a request to show compiler error messages for :t. It is possible Paul intentionally suppressed error detail, so he can comment on that.

@scabug
Copy link
Author

scabug commented May 29, 2011

Commit Message Bot (anonymous) said:
(extempore in r25040) Give some feedback on invalid :type expressions. Closes #4556, no review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants