xp-framework / compiler

Compiles future PHP to today's PHP.
19 stars 0 forks source link

Syntax error for parameters called "function" #39

Closed thekid closed 6 years ago

thekid commented 6 years ago
class Test {
  public function map($function) {
    // ...
  }
}

Causes the error Expected "(", have ")"