Skip to content

Commit 01e0c00

Browse files
committed
Fix docs and test #2
1 parent 69c687f commit 01e0c00

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ test.HelloWorldAbstract
6969

7070
test/HelloWorldAbstract.hx :
7171
```haxe
72-
@:keep
7372
abstract HelloWorldAbstract(String) from String to String
7473
{
7574
public static function rulescriptPrint():HelloWorldAbstract

test/src/Main.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package;
22

3+
import TestAbstract;
34
import rulescript.*;
5+
import test.HelloWorldAbstract;
46

57
class Main
68
{

test/src/TestAbstract.hx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package;
22

3-
@:keep
43
abstract TestAbstract(Test) from Test to Test
54
{
65
@:from

test/src/test/HelloWorldAbstract.hx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package test;
22

3-
@:keep
43
enum abstract HelloWorldAbstract(String) from String to String
54
{
65
public static function rulescriptPrint():HelloWorldAbstract

0 commit comments

Comments
 (0)