Bug 37886 - mcs 4.2.2 generates bad IL when string-interpolating a dynamic object
Summary: mcs 4.2.2 generates bad IL when string-interpolating a dynamic object
Status: RESOLVED FIXED
Alias: None
Product: Compilers
Classification: Mono
Component: C# ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Marek Safar
URL:
Depends on:
Blocks:
 
Reported: 2016-01-21 21:37 UTC by Aaron Bockover [MSFT]
Modified: 2016-01-22 17:25 UTC (History)
1 user (show)

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


Attachments
Test Case (358 bytes, text/plain)
2016-01-21 21:38 UTC, Aaron Bockover [MSFT]
Details
IL dumped via monodis (2.73 KB, text/plain)
2016-01-21 21:38 UTC, Aaron Bockover [MSFT]
Details


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:
Status:
RESOLVED FIXED

Description Aaron Bockover [MSFT] 2016-01-21 21:37:40 UTC
Mono JIT compiler version 4.2.2 (explicit/efae6a0 Fri Jan 15 20:15:21 EST 2016)

Generates bad IL when string-interpolating a dynamic object member:

System.InvalidProgramException: Invalid IL code in InvalidILWhenInterpolatingDynamicObjectTest:Main (): IL_0006: call      0x0a000003
Comment 1 Aaron Bockover [MSFT] 2016-01-21 21:38:15 UTC
Created attachment 14662 [details]
Test Case
Comment 2 Aaron Bockover [MSFT] 2016-01-21 21:38:57 UTC
Created attachment 14663 [details]
IL dumped via monodis
Comment 3 Marek Safar 2016-01-22 17:25:19 UTC
Fixed in master and Mono 4.3.2