Skip to content

Commit e7e39fa

Browse files
Mmm
1 parent 6c4acd1 commit e7e39fa

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ReCT/CodeAnalysis/Binding/Binder.cs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,14 +2145,7 @@ public static TypeSymbol LookupType(string name)
21452145
if (TypeSymbol.Class == null) TypeSymbol.Class = new Dictionary<ClassSymbol, TypeSymbol>();
21462146
var type = TypeSymbol.Class.Values.FirstOrDefault(x => x.Name == name);
21472147
if (type != null) return type;
2148-
2149-
foreach(var package in Binder._packageNamespaces)
2150-
{
2151-
type = TypeSymbol.Class[package.scope.GetDeclaredClasses().FirstOrDefault(x => x.Name == name)];
2152-
if (type != null)
2153-
return type;
2154-
}
2155-
2148+
21562149
//if (type == null) throw new Exception($"Couldnt find type '{name}'!");
21572150

21582151
return null;

0 commit comments

Comments
 (0)