Skip to content

it seems that if the package name have token scala in it , compiler throws weird exception #501

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

Closed
scabug opened this issue Feb 17, 2008 · 3 comments

Comments

@scabug
Copy link

scabug commented Feb 17, 2008

I have been compiling SCALA-MINA with the new compiler 2.7.0 rc2 I got 4 errors, among those errors, there was a file call CallResult.scala, it did not compiled.

I have isolated the problem in a file. when compile with the package name org.kow I get no problem, it compiles correctly. when I use package name org.scala it thows the following errors :
C:\Documents and Settings\renghen\Desktop>c:\scala-2.7.0-RC2\bin\scalac.bat test.scala
test.scala:18: error: type Nothing is not a member of package org.scala
case class OKT extends CallResult[T]
^
test.scala:26: error: type Nothing is not a member of package org.scala
case class ErrorT extends CallResult[T]
^
two errors found

@scabug
Copy link
Author

scabug commented Feb 17, 2008

Imported From: https://issues.scala-lang.org/browse/SI-501?orig=1
Reporter: renghen kow (renghen)
Attachments:

  • test.scala (created on Feb 17, 2008 2:41:53 PM UTC, 707 bytes)

@scabug
Copy link
Author

scabug commented Feb 22, 2008

@michelou said:
duplicate of #430.

@scabug
Copy link
Author

scabug commented Jan 14, 2009

@odersky said:
Milestone 2.7.1 deleted

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

1 participant