global_variable3.golden 277 B

1234567891011121314
  1. ********** source program **********
  2. var Int : flag = true
  3. fn main () -> Int {
  4. return 0;
  5. }
  6. ********** type checking **********
  7. --- step exp Int --->
  8. --- step exp Int --->
  9. --- step exp Int --->
  10. 7: type error in initializer of variable
  11. expected: Int
  12. actual: Bool
  13. EXIT CODE: 255