[SR-6736] Enforce 16-bit limit for # of function parameters, # of tuple type element #49285
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
good first issue
Good for newcomers
Additional Detail from JIRA
md5: ea27fac0ee252473c9618a9257498092
Issue Description:
Swift's ABI uses 16 bits to store the number of parameter types in a function type and the number of element types in a tuple type. We should enforce these limits in the parser, so they don't slip through and become crashes at later phases.
The text was updated successfully, but these errors were encountered: