Permalink
Browse files

*** empty log message ***

  • Loading branch information...
1 parent 9dcdbe2 commit 0914af826d0c2017fe06d30fc7584022a9710f9c pberkland committed Sep 29, 2008
@@ -712,4 +712,24 @@ public void test082() {
//
// );
// }
+
+
+ public void test083() {
+ CompilationUnitDeclaration declaration = this.runInferTest(
+ "function Car() {" +
+ " this.color = 'red';" +
+ " this.Move = function() { return \"I'm moving\"; };" +
+ "};" +
+ "Car.Stop = function() { return \"I'm not moving\"; };" +
+ "Car.engine = 'diesel';" +
+ "",
+ "X.js",
+ "class Car extends Object{\n static String engine;\n String color;\n Car()\n String Move()\n static String Stop()\n}\n",
+ getDefaultOptions()
+
+ );
+ }
+
+
+
}

0 comments on commit 0914af8

Please sign in to comment.