Bug 7006 - Internal compiler error during parsing
Summary: Internal compiler error during parsing
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: Other Other
: --- normal
Target Milestone: ---
Assignee: Marek Safar
Depends on:
Reported: 2012-09-08 09:05 UTC by Konrad Kruczyński
Modified: 2012-09-12 12:57 UTC (History)
1 user (show)

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

Test program to compile (232 bytes, application/octet-stream)
2012-09-08 09:05 UTC, Konrad Kruczyński

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Konrad Kruczyński 2012-09-08 09:05:55 UTC
Created attachment 2480 [details]
Test program to compile

Description of Problem:

Steps to reproduce the problem:
1. Compile attached program

Actual Results:
/home/konrad/Test674/Test674/Main.cs(43,43): Error CS0589: Internal compiler error during parsingMono.CSharp.InternalErrorException: Secondary putback [w] putting back [)] is not allowed (CS0589) (Test674)

Expected Results:
Usual error like unexpected character '/', name something does not exist in current context etc.

How often does this happen? 

Additional Information: 
Compiler version is c4a1a56
Comment 1 Marek Safar 2012-09-12 12:57:57 UTC
Fixed in master