File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,8 @@ function(_compile_swift_files
616616 list (APPEND swift_flags "-Xfrontend" "-disable-preallocated-instantiation-caches" )
617617 endif ()
618618
619+ list (APPEND swift_flags "-Xfrontend" "-enable-experimental-associated-type-inference" )
620+
619621 list (APPEND swift_flags ${SWIFT_STDLIB_EXTRA_SWIFT_COMPILE_FLAGS} )
620622
621623 list (APPEND swift_flags ${SWIFT_EXPERIMENTAL_EXTRA_FLAGS} )
Original file line number Diff line number Diff line change 9797 let _: [ Int ] . #^SUGARED_ARRAY_MEMBER_DOT? check = ARRAY^#
9898
9999 // ARRAY-LABEL: Begin completions, 8 items
100- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: Index[#Int#]; name=Index
101- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: Indices[#Range<Int>#]; name=Indices
102- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: Iterator[#IndexingIterator<Array<Element>>#]; name=Iterator
103- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: Element[#Element#]; name=Element
104- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: SubSequence[#ArraySlice< Element> #]; name=SubSequence
105- // ARRAY-NEXT : Decl[TypeAlias]/CurrNominal/IsSystem: ArrayLiteralElement[# Element#]; name=ArrayLiteralElement
106- // ARRAY-NEXT : Decl[TypeAlias]/Super/NotRecommended/IsSystem: IndexDistance[#Int#]; name=IndexDistance; diagnostics=warning:'IndexDistance' is deprecated: all index distances are now of type Int
107- // ARRAY-NEXT : Keyword/None: Type[#{{Array<Int>|\[Int\]}}.Type#]; name=Type
100+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: Index[#Int#]; name=Index
101+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: Indices[#Range<Int>#]; name=Indices
102+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: Iterator[#IndexingIterator<Array<Element>>#]; name=Iterator
103+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: Element[#Element#]; name=Element
104+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: ArrayLiteralElement[# Element#]; name=ArrayLiteralElement
105+ // ARRAY-DAG : Decl[TypeAlias]/CurrNominal/IsSystem: SubSequence[#ArraySlice< Element> #]; name=SubSequence
106+ // ARRAY-DAG : Decl[TypeAlias]/Super/NotRecommended/IsSystem: IndexDistance[#Int#]; name=IndexDistance; diagnostics=warning:'IndexDistance' is deprecated: all index distances are now of type Int
107+ // ARRAY-DAG : Keyword/None: Type[#{{Array<Int>|\[Int\]}}.Type#]; name=Type
108108
109109 let _: Dictionary < Int , Int > . #^DICTIONARY_MEMBER_DOT? check= DICTIONARY^#
110110 let _: [ Int : Int ] . #^SUGARED_DICTIONARY_MEMBER_DOT? check = DICTIONARY^#
You can’t perform that action at this time.
0 commit comments