Issue Type: Bug Bug
Assignee: Simon Brandhof
Created: 08/Jan/14 12:45 AM
Description:

The following code

-module (sonar_erlang_failure_1).

-export ([get_key1/1,
get_key2/1
]).

-record(my_record,

{key1,key2}).

get_key1 (Record) ->
Record#my_record.key1.

get_key2 (Record) ->
Record#my_record.key2.

fails with a parse error

ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: Parse error at line 12 column 20 failed to match: minus

2:
3: -export ([get_key1/1,
4: get_key2/1
5: ]).
6:
7: -record(my_record,{key1,key2}

).
8:
9: get_key1 (Record) ->
10: Record#my_record.key1.
11:
12: get_key2 (Record) ->
^
13: Record#my_record.key2.
14:

Environment: sonar-erlang-plugin from git master
sonar-runner 2.3
sonarqube 4.0
Project: Mojo's Sonar Maven Plugin
Priority: Major Major
Reporter: Anthony Molinaro
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to