Activity log for bug #615112

Date Who What changed Old value New value Message
2010-08-08 20:28:51 Phill bug added bug
2010-08-08 20:28:51 Phill attachment added Cause.cs http://launchpadlibrarian.net/53292046/Cause.cs
2010-08-12 19:05:15 Phill nominated for series Ubuntu Lucid
2010-08-12 19:05:15 Phill nominated for series Ubuntu Maverick
2011-02-14 16:00:29 Phill description Binary package hint: mono If you have a class with a default constructor, a constructor that accepts a parameter array of a generic type, and one that accepts a parameter array of a non-generic type, and a call to the constructor with no arguments then the compiler crashes. If the default constructor did not exist this would create an ambiguity, but the compiler also crashes rather than reporting this. MS compiles the code and calls the parameter-less default constructor. I've attached a code file that illustrates this problem, which requires references to System and System.Core assemblies. The workaround is to replace the generic constructor to include on mandatory element before the parameter array. This bug appears to be unfixed even in the latest versions of mono. Binary package hint: mono If you have a class with a default constructor, a constructor that accepts a parameter array of a generic type, and one that accepts a parameter array of a non-generic type, and a call to the constructor with no arguments then the compiler crashes. If the default constructor did not exist this would create an ambiguity, but the compiler also crashes rather than reporting this. MS compiles the code and calls the parameter-less default constructor. I've attached a code file that illustrates this problem, which requires references to System and System.Core assemblies. The workaround is to replace the generic constructor to include one mandatory element before the parameter array. This bug appears to be unfixed even in the latest versions of mono.
2014-01-30 20:47:04 Phill removed subscriber Phill