[swift-evolution] Should be able to initialize list of lists with 2d static data without unexpected errors.

Chris Lattner clattner at apple.com
Sun Dec 6 16:47:16 CST 2015


> On Dec 6, 2015, at 1:26 PM, Amir Michail via swift-evolution <swift-evolution at swift.org> wrote:
> 
> It’s very irritating trying to initialize a list of lists with static data and unpredictably encountering expression too complex errors.
> 
> One could then try to incrementally initialize such a list of lists with append for each row say.
> 
> Such initialization with simple 2d static data should never result in an expression too complex error.

"Too complex” errors are not an evolution issue, they are an implementation issue.  Please feel free to submit PR’s to help improve the implementation!

-Chris


More information about the swift-evolution mailing list