report function

void report(
  1. int line,
  2. String where,
  3. String message
)

Implementation

void report(int line, String where, String message) {
  print("[line $line] Error $where: $message");
  hadError = true;
}