git.asbjorn.biz
/
swftools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
swfc: parse percent values as floating point
[swftools.git]
/
lib
/
as3
/
ok
/
resolve.as
1
package {
2
3
import flash.display.MovieClip
4
5
public class B extends C {
6
static var x:String = "error";
7
8
function f() {
9
/* the compiler should prefer the superclass x
10
over the static x */
11
return x;
12
}
13
}
14
15
public class C extends D {
16
}
17
18
public class D {
19
var x:String = "ok";
20
}
21
22
23
public class Main extends flash.display.MovieClip {
24
function Main() {
25
trace((new B()).f());
26
}
27
}
28
29
}