Bug 28483 - Class with dynamics and overloaded operators fails with "CS1525: Unexpected symbol"
Summary: Class with dynamics and overloaded operators fails with "CS1525: Unexpected s...
Status: NEW
Alias: None
Product: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2015-03-26 21:31 UTC by Alexander Köplinger
Modified: 2015-08-19 10:24 UTC (History)
1 user (show)

See Also:
Is this bug a regression?: ---
Last known good build:

test.cs (501 bytes, text/plain)
2015-03-26 21:31 UTC, Alexander Köplinger

Description Alexander Köplinger 2015-03-26 21:31:13 UTC
Created attachment 10523 [details]

Compiling the attached file fails with mcs but works with csc.exe on Windows:

>$ mcs test.cs 
> test.cs(26,29): error CS1525: Unexpected symbol `t2'

This was extracted from one of the System.Dynamic.Runtime test cases over at dotnet/corefx.
Comment 1 Alexander Köplinger 2015-03-26 21:32:32 UTC
Expected output when running the compiled exe is "i: 0, j: 0"
Comment 2 Alexander Köplinger 2015-08-19 10:24:17 UTC
@Marek: any updates on this one? just went over some of my open bugs and saw this is still open :)

Note You need to log in before you can comment on or make changes to this bug.