Bug 317517 (MONO73993) - [GMCS] generic type causes resolution failure on "where" section
Summary: [GMCS] generic type causes resolution failure on "where" section
Status: RESOLVED FIXED
Alias: MONO73993
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 06:40 UTC by Atsushi Enomoto
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

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:11:22 UTC


---- Reported by atsushi@ximian.com 2005-03-22 23:40:52 MST ----

When generic type was specified for "where" section, gmcs cannot resolve
the type name.

Steps to reproduce the problem:
Compile the example below.

using System;
static class Test1 {
  public class IOp<T> { }
  static void Foo<T,OP>(uint v) where OP : IOp<T> { }
};

Actual Results:
generic.cs(4) error CS0246: Cannot find type 'T'
Compilation failed: 1 error(s), 0 warnings

Expected Results:
no CS0246 error.

How often does this happen? 
consistently.



---- Additional Comments From martin@ximian.com 2005-04-22 15:43:10 MST ----

Fixed in SVN.

This bug blocked bug(s) 73995.

Unknown operating system unknown. Setting to default OS "Other".