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:
Ray Greenwell
2006-06-28 22:04:19 +00:00
parent 0a5953bf17
commit 608be4557b
11 changed files with 46 additions and 33 deletions
@@ -43,22 +43,19 @@ public class CompoundEvent extends DEvent
public function CompoundEvent (
target :DObject = null, omgr :DObjectManager = null)
{
if (target == null) {
super();
return;
super((target == null) ? 0 : target.getOid());
if (target != null) {
// sanity check
if (omgr == null) {
throw new ArgumentError(
"Must receive non-null object manager reference");
}
_omgr = omgr;
_target = target;
_events = new StreamableArrayList();
}
super(target.getOid());
// sanity check
if (omgr == null) {
throw new ArgumentError(
"Must receive non-null object manager reference");
}
_omgr = omgr;
_target = target;
_events = new StreamableArrayList();
}
/**