Some logic for parsing conditional expressions has been changed to address compilation issues.
Lines that parse the test have been commented out: the AST structure no longer matches.
Lines that parse the consequent and alternate were commented out: statement coverage wasn't getting inside the injected parens, which caused problems.
Added Identifier as a type of node that can be assigned to conditionally
It looks like istanbul treats conditional expressions as single statements, so I think solcover's test results now match theirs. Was the following the path of least resistance here, not necessarily the correct path.
Some logic for parsing conditional expressions has been changed to address compilation issues.
Identifier
as a type of node that can be assigned to conditionallyIt looks like istanbul treats conditional expressions as single statements, so I think solcover's test results now match theirs. Was the following the path of least resistance here, not necessarily the correct path.