Some changes required for the new compiler.
- Import bleeding may be fixed, as I had to import a bunch of things I should have had to earlier. - NOW they make duplicate variable definitions bad (but without block scoping... yay). - Another hoopjump. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4233 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -76,7 +76,8 @@ public class ClassUtil
|
||||
|
||||
// See which classes we extend.
|
||||
var exts :XMLList = typeInfo.child("extendsClass").attribute("type");
|
||||
for each (var type :String in exts) {
|
||||
var type :String;
|
||||
for each (type in exts) {
|
||||
if (asClass == getClassByName(type)) {
|
||||
return true;
|
||||
}
|
||||
@@ -85,7 +86,7 @@ public class ClassUtil
|
||||
// See which interfaces we implement.
|
||||
var imps :XMLList = typeInfo.child("implementsInterface")
|
||||
.attribute("type");
|
||||
for each (var type :String in imps) {
|
||||
for each (type in imps) {
|
||||
if (asClass == getClassByName(type)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user