mirror of
https://github.com/github/codeql.git
synced 2026-04-22 07:15:15 +02:00
Swift: ArrayContent aliased to CollectionContent
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
category: breaking
|
||||
category: deprecated
|
||||
---
|
||||
|
||||
* The `ArrayContent` type in the data flow library has been removed and its uses have been replaced with the `CollectionContent` type, to better reflect the hierarchy of the Swift standard library. Uses of `ArrayElement` in model files will be interpreted as referring to `CollectionContent`.
|
||||
* The `ArrayContent` type in the data flow library has been deprecated and made an alias for the `CollectionContent` type, to better reflect the hierarchy of the Swift standard library. Uses of `ArrayElement` in model files will be interpreted as referring to `CollectionContent`.
|
||||
|
||||
@@ -229,6 +229,11 @@ module Content {
|
||||
class CollectionContent extends Content, TCollectionContent {
|
||||
override string toString() { result = "Collection element" }
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: An element of a collection. This is an alias for the general CollectionContent.
|
||||
*/
|
||||
deprecated class ArrayContent = CollectionContent;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user