facebookarchive / hack-langspec

The official Hack Language specification.
http://hacklang.org
Other
172 stars 48 forks source link

Typo in chapter 14 #95

Open ericlippert opened 7 years ago

ericlippert commented 7 years ago

In chapter 14 we have

The type-specifier in generic-type-constraint must not be this or ?this.

But the text it is referring to says

generic-type-parameter-varianceopt generic-type-parameter-name type-constraintopt

That is, "type-constraint", not "generic-type-constraint". Looks like a mis-edit.