Commits
Jordan Rose committed c3833c10b31
[serialization] Validate the number of param patterns in a FuncDecl. Now that we're actually serializing this explicitly (because it's needed in the constructor), we can use it to check whether we actually serialized the right number of patterns. This also paves the way for a minor optimization: not serializing two sets of parameters when not dealing with a selector-style declaration. Swift SVN r8098