Skip to content

Commit

Permalink
Create architype_def_type2.jac
Browse files Browse the repository at this point in the history
  • Loading branch information
Thamirawaran authored Oct 10, 2024
1 parent b31fb04 commit defc86a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions jac/jaclang/tests/fixtures/architype_def_type2.jac
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# fix test type 2

walker MyWalker{
can travel with `root|MyNode entry{
print("MyWalker");
}
}

node MyNode{
can work with MyWalker entry{
print("MyNode");
}
}

with entry{
Node_1=a();
Node_1 spawn MyWalker();
}

0 comments on commit defc86a

Please sign in to comment.