encore icon indicating copy to clipboard operation
encore copied to clipboard

Non-recursive typedef ruled out as recursive.

Open supercooldave opened this issue 7 years ago • 0 comments

The following reasonable typedefs result in the type checker complaining that "type synonyms cannot be recursive".

typedef PQEntry[t] = (int, t)
typedef Comparator[t] = (PQEntry[t], PQEntry[t]) -> bool

Typedefs such as these should be permitted.

supercooldave avatar Apr 20 '17 15:04 supercooldave