prakhar1989/JSJS

Generics: Check if correct type identifiers are used

Closed this issue · 1 comments

Following should raise an error

// should fail since A, B are not defined
val apply = /\[T, U](fn: (A) -> B, x: A): B => {
  fn(x);
};

Fixed in 488dfd7