Commits

Slava Pestov committed 9a1fa52ff25
Sema: Fix bogus 'parameters may not have the 'var' specifier' diagnostic If an inout parameter has an invalid type, we were unable to distinguish it from a 'var' parameter, resulting in an invalid diagnostic. Fix this by adding a VarDecl::isInOut() flag, instead of introspecting the type.