blueprints-scala
blueprints-scala copied to clipboard
3 warnings/errors with -Xlint scalac flag
[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.