Closed
Description
Try parsing a header file containing following code:
extern int some_array_var [10][20][30];
throws following exception:
Unhandled exception. System.InvalidOperationException: Sequence contains more than one element
Replacing Line 33 in sources\ClangSharp\Cursors\Decls\VarDecl.cs
from
return exprs.SingleOrDefault();
to
return exprs.FirstOrDefault();
fixes the issue.
Metadata
Metadata
Assignees
Labels
No labels