Logo
Explore Help
Sign In
averello/swift-mirror
1
0
Fork 0
You've already forked swift-mirror
mirror of https://github.com/apple/swift.git synced 2025-12-21 12:14:44 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
8c4e7d2a88a3f901b511be3f2639a9e7e75cda4a
swift-mirror/test/expr/cast
History
Pavel Yaskevich 681d1605af [CSSimplify] Allow type inference through marker protocol existential casts
```swift
class A<T> {
}

class B<U> : A<U> {
}

func test(v: any B<Int> & Sendable) {
  _ = v as A // infers `Int` for `A.T`
}
```
2024-03-11 10:38:46 -07:00
..
array_bridge.swift
…
array_coerce.swift
…
array_downcast_Foundation.swift
Rework ASTDumper (#68438)
2023-09-11 23:56:38 -07:00
array_downcast.swift
…
array_iteration.swift
…
as_coerce.swift
[CSSimplify] Allow type inference through marker protocol existential casts
2024-03-11 10:38:46 -07:00
bridged.swift
…
cf.swift
[inclusive-language] changed sanity to soundness
2024-01-25 18:18:02 -08:00
chains.swift
…
dictionary_bridge.swift
…
dictionary_coerce.swift
…
dictionary_downcast.swift
…
generic.swift
…
literals_downcast_bridge.swift
…
literals_downcast.swift
…
metatype_casts.swift
…
nil_value_to_optional.swift
…
objc_coerce_array.swift
Revert "Sema: Emit diagnostics when walking into collection literals with defaulted types"
2023-04-20 21:55:40 +03:00
optional.swift
…
precedence.swift
…
set_bridge.swift
…
set_coerce.swift
…
set_downcast.swift
…
Powered by Gitea Version: 1.25.3 Page: 1116ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API