Bugzilla – Bug 316415
[GMCS] Wrong 1501 error with generic structs
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by carlos@unixmexico.org 2004-11-08 16:37:10 MST ---- Description of Problem: Currently gmcs will show the 1501 error when it finds generic structs, that having more than a one constructor, are created using the default parameterless constructor. Steps to reproduce the problem: 1. Get the patch below and compile with gmcs Actual Results: GenericStruct.cs(10) error CS1501: No overload for method `SimpleStruct`1<System.String>' takes `0' argument Expected Results: Compilation succeeded How often does this happen? Always Additional Information: ---- Additional Comments From carlos@unixmexico.org 2004-11-08 16:38:36 MST ---- Created an attachment (id=167010) Sample ---- Additional Comments From carlos@unixmexico.org 2004-11-12 19:22:22 MST ---- It looks like in the current repository it doesn't exist anymore. ---- Additional Comments From martin@ximian.com 2004-11-15 02:31:41 MST ---- Fixed in CVS. Imported an attachment (id=167010)