Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove a rather broken "optimization" from multi handling that screwe…
…d up precedence and other optimizations
  • Loading branch information
sorear committed May 26, 2012
1 parent 755ee05 commit 877296d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/Kernel.cs
Expand Up @@ -5107,14 +5107,6 @@ internal class MMDCandidate : MultiCandidate {
}

SubInfo si;
if (cands.Length == 1 && cands[0] != null && proto != null) {
si = GetInfo(proto);
// minor hack...
if (si != null && si.extend != null &&
si.extend.ContainsKey("builtin")) {
return cands[0];
}
}

si = (proto != null) ? new SubInfo(GetInfo(proto)) :
new SubInfo(name, StandardTypeProtoC);
Expand Down

0 comments on commit 877296d

Please sign in to comment.