Skip to content
Snippets Groups Projects
Unverified Commit 45b673c6 authored by Nate Bosch's avatar Nate Bosch Committed by GitHub
Browse files

Allow omitting const in parsed metadata (#935)

Fixes #915

When there is no `const` the expression is parsed as a
`MethodInvocation` instead of an `InstanceCreationExpression`. Update
all the places we were casting to the latter so that it can handle
either case.

Add some additional tests for import prefix cases.
parent 642c823a
No related branches found
Tags 0.12.31+1
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment