[nem-en] On bug 861

Dmitry Ivankov divanorama at gmail.com
Sun Jul 15 10:20:30 CEST 2007


Hi

Commenting out error message generating in TypeBuilder.n:1579..1580 "fixes"
861.
I don't get how TypeInfo.member_map works.
Why only first mapped member is checked and only one is then set?
Looks like it's because all members are supposed to be of same kind.

One more example that should work, but gets the same error:
class B {
 //ambiguity isn't fatal, it sometimes can be resolved
 class A {}
 static A () : void {}
}
or even
class B {
 //ambiguity isn't fatal, it sometimes can be resolved
 class A {}
 A (_ : int) : void {}
}

One more related bug:
class A[T] {};
class A[T, S] {};
_ = A (); //E:
Both overloads are printed as "constructor A..ctor() : void", should print
typarams too (and not void, which is todo :) ).
Same with methods.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/pipermail/devel-en/attachments/20070715/4d7a3d2e/attachment.html


More information about the devel-en mailing list