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

3 warnings/errors with -Xlint scalac flag #36

Open
christobill opened this issue Aug 3, 2015 · 0 comments
Open

3 warnings/errors with -Xlint scalac flag #36

christobill opened this issue Aug 3, 2015 · 0 comments

Comments

@christobill
Copy link

[error] /blueprints-scala/src/main/scala/com/ansvia/graph/util/scalax/rules/Rule.scala:46: a type was inferred to be Any; this may indicate a programming error.
[error] def orError[In2 <: In] = this orElse (error[In2])
[error] ^
[error] /blueprints-scala/src/main/scala/com/ansvia/graph/util/scalax/rules/scalasig/ScalaSig.scala:180: a type was inferred to be Any; this may indicate a programming error.
[error] def symHeader(key: Int) = (key -~ none | (key + 64) -~ nat)
[error] ^
[error] /blueprints-scala/src/main/scala/com/ansvia/graph/util/scalax/rules/scalasig/ScalaSig.scala:279: a type was inferred to be Any; this may indicate a programming error.
[error] 26 -~ longValue ^^ (_.toByte),
[error] ^
[error] three errors found
error Compilation failed
[error] Total time: 15 s, completed Aug 3, 2015 11:45:54 AM

Explicit types should solve this problem.

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

No branches or pull requests

1 participant