[swfinterp] Basic support for constants (only ints for now)

This commit is contained in:
Philipp Hagemeister committed 2014-11-17 07:14:02 +01:00
1 parent 162f54eca6
commit cd9ad1d7e8
2 files changed
+45 -10

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// input: []
// output: 2
package {
public class ConstantInt {
private static const x:int = 2;
public static function main():int{
return x;
}
}
}