global_variable8.golden 521 B

1234567891011121314151617181920212223242526
  1. ********** source program **********
  2. var Int : x = y
  3. var Int : y = 0
  4. fn main () -> Int {
  5. return x;
  6. }
  7. ********** type checking **********
  8. --- step exp Int --->
  9. --- step exp Int --->
  10. --- step exp Int --->
  11. --- step exp Int --->
  12. --- step exp Int --->
  13. --- step exp Int --->
  14. ********** type checking complete **********
  15. var Int : x = y
  16. var Int : y = 0
  17. fn main () -> Int {
  18. return x;
  19. }
  20. ********** starting execution **********
  21. ********** initializing globals **********
  22. --- step exp y --->
  23. 8: could not find `y`
  24. EXIT CODE: 255