Bug 316415 (MONO69247) - [GMCS] Wrong 1501 error with generic structs
Summary: [GMCS] Wrong 1501 error with generic structs
Status: RESOLVED FIXED
Alias: MONO69247
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other All
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 23:37 UTC by Carlos Alberto Cortez
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Sample (285 bytes, text/plain)
2004-11-08 23:38 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:58:21 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)