Hey guys,
I am ready curious about the red lines in my Intellij.
Please take a look at following code:
This code works fine, it can be complied in Intellij.
However, I use Intellij open this file.
I got a lot of red lines.
For example:
override def validations =
valMaxLen(64, "Name must be 64 characters or less") _ ::
super.validations
i got :
Expression of type List[(name.ValueType)=>scala.List[FieldError]] doesn't conform to expected type scala.List[nameValidationFunction]
and
def whenCreated: DateTime = new DateTime(id.is.getTime)
i got:
can't solve symbol getTime
I don't know why there are "red line" error, but do not effect on the compiler?
Thank you