We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c4acd1 commit e7e39faCopy full SHA for e7e39fa
ReCT/CodeAnalysis/Binding/Binder.cs
@@ -2145,14 +2145,7 @@ public static TypeSymbol LookupType(string name)
2145
if (TypeSymbol.Class == null) TypeSymbol.Class = new Dictionary<ClassSymbol, TypeSymbol>();
2146
var type = TypeSymbol.Class.Values.FirstOrDefault(x => x.Name == name);
2147
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
+
2156
//if (type == null) throw new Exception($"Couldnt find type '{name}'!");
2157
2158
return null;
0 commit comments