fix: some analysis stage problems
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
class Node
|
||||
{
|
||||
Node next;
|
||||
|
||||
fn ping()
|
||||
{
|
||||
printline("ping");
|
||||
}
|
||||
|
||||
fn pingNext()
|
||||
{
|
||||
this.next.ping();
|
||||
}
|
||||
}
|
||||
|
||||
Node head = new Node;
|
||||
Node tail = new Node;
|
||||
head.next = tail;
|
||||
head.pingNext();
|
||||
Reference in New Issue
Block a user