mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Enable InlineArray type sugar
Promote it from an experimental feature. rdar://155607927
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
// RUN: %target-swift-frontend %s -emit-ir -enable-experimental-feature InlineArrayTypeSugar -disable-availability-checking -g -o - | %FileCheck %s
|
||||
|
||||
// REQUIRES: swift_feature_InlineArrayTypeSugar
|
||||
// RUN: %target-swift-frontend %s -emit-ir -disable-availability-checking -g -o - | %FileCheck %s
|
||||
|
||||
let a: ([3 of Int], InlineArray<3, Int>) = ([1, 2, 3], [1, 2, 3])
|
||||
let b: ([3 of [1 of String]], InlineArray<3, InlineArray<1, String>>) = ([[""], [""], [""]], [[""], [""], [""]])
|
||||
|
||||
Reference in New Issue
Block a user