Bug 317056 (MONO71996) - Error CS0187 is not reported
Summary: Error CS0187 is not reported
Status: RESOLVED MOVED
Alias: MONO71996
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 11:41 UTC by Marek Safar
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:05:53 UTC


---- Reported by marek.safar@seznam.cz 2005-01-31 04:41:15 MST ----

Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:

Error CS0187 is not reported => wrong IL code

Steps to reproduce the problem:

using System;
using System.Collections;

class foo {
	private static void Up(Hashtable h, String x, String y)
	{
		h[x + "/" + y]++;
	}

	public static void Main()
	{
		Hashtable y = new Hashtable ();
		Up(y, "foo", "bar");
	}
}

Actual Results:

No compilation error

Expected Results:

(7,3): error CS0187: No such operator '++' defined for type 'object'



---- Additional Comments From rharinath@novell.com 2005-02-17 04:18:11 MST ----

Fixed in SVN.  cf https://bugzilla.novell.com/show_bug.cgi?id=MONO63202.

*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO63202 ***


Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"