confusable_identifier.gd 320 B

123456789101112
  1. extends Node
  2. func test():
  3. var port = 0 # Only latin characters.
  4. var pοrt = 1 # The "ο" is Greek omicron.
  5. prints(port, pοrt)
  6. # Do not call this since nodes aren't in the tree. It is just a parser check.
  7. func nodes():
  8. var _node1 = $port # Only latin characters.
  9. var _node2 = $pοrt # The "ο" is Greek omicron.