Permalink
Browse files

Actually, punning messes up calls, so do not treat interfaces as full…

… roles ...
  • Loading branch information...
1 parent bc8344f commit 20aa77253fb49103a3973fa3b86c493dcda0a57c @sorear committed Jan 29, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/NieczaCLR.cs
View
@@ -666,8 +666,6 @@ public class CLRWrapperProvider {
foreach (Type ity in t.GetInterfaces())
m.mo.role_typecheck_list.Add(GetWrapper(ity));
if (t.IsInterface) {
- m.mo.type = P6how.ROLE;
- m.mo.rtype = "role";
m.mo.role_typecheck_list.Add(m);
}

0 comments on commit 20aa772

Please sign in to comment.