Pārlūkot izejas kodu

Removed unused type evaluation (see desc)

Threw an exception when an import member could not be found.
Also, the value was not used anywhere
kindlich 5 gadus atpakaļ
vecāks
revīzija
6be789d2c9
Šim parakstam datu bāzē netika atrasta zināma atslēga

+ 1
- 1
Parser/src/main/java/org/openzen/zenscript/parser/expression/ParsedExpressionMember.java Parādīt failu

@@ -44,7 +44,7 @@ public class ParsedExpressionMember extends ParsedExpression {
44 44
 				scope.hints,
45 45
 				new GenericName(this.member, typeArguments));
46 46
 		if (member == null) {
47
-			TypeMembers members = scope.getTypeMembers(cValue.eval().type);
47
+			//TypeMembers members = scope.getTypeMembers(cValue.eval().type);
48 48
 			throw new CompileException(position, CompileExceptionCode.NO_SUCH_MEMBER, "Member not found: " + this.member);
49 49
 		}
50 50
 		

Notiek ielāde…
Atcelt
Saglabāt