Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 0.8.2, 0.9
-
Fix Version/s: 0.9
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
cedric@laptop:~/dev/workspace/boo/boo$ cat tests/testcases/regression/BOO-1031-1.boo import System.Collections import System.Collections.Generic class B: pass class A(B*): def IEnumerable.GetEnumerator() as IEnumerator: pass def GetEnumerator() as IEnumerator[of B]: pass cedric@laptop:~/dev/workspace/boo/boo$ booc tests/testcases/regression/BOO-1031-1.boo Boo Compiler version 0.8.2.2963 (CLR v2.0.50727.42) tests/testcases/regression/BOO-1031-1.boo(10,9): BCE0035: 'A.GetEnumerator' conflicts with inherited member 'System.Collections.IEnumerable.GetEnumerator'. 1 error(s).
(bug reported by Greg Bagel)
Issue Links
| This issue relates to: | ||||
| BOO-965 | Explicit interface implementation of generic interfaces |
|
|
|
| This issue is related to: | ||||
| BOO-1053 | Refactor ProcessInheritedAbstractMembers step |
|
|
|
| This issue depends upon: | ||||
| BOO-1032 | Ambiguous reference when trying to access a non-explicit member which also has an explicit implementation overload |
|
|
|
| This issue is depended upon by: | ||||
| BOO-779 | Use generic IEnumerable interface for compiling for loops when applicable |
|
|
|
rev. 2976 : added (ignored for now) testcases in test/testcases/regression/
BOO-1031-*.booBOO-1031-*.boo