[jira] (MSONAR-115) AST parser failing on cast method reference

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] (MSONAR-115) AST parser failing on cast method reference

JIRA jira@codehaus.org
Message Title
Daniel Hiller commented on an issue
Mojo's Sonar Maven Plugin / Bug MSONAR-115
AST parser failing on cast method reference
If the parser encounters a method reference to a cast, i.e.

{code:java}
... .stream().map(MyClass.class::cast). ...
{code}

it fails with "Unable to parse source file".

{code}
[ERROR] [15:58:25.853] Unable to parse source file : ...
[ERROR] [15:58:25.855] Parse error at line .. column .. failed to match all of: spacing DOT AT LBRK INC DEC STAR...
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Loading...