mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
typealias MyInt: ForwardIndex = Int There is no real reason to allow this; it's just a static_assert that Int conforms to ForwardIndex, which would be better spelled some other way. This only applies to concrete typealiases, i.e. those that simply alias an underlying type. Associated types can still have both inheritance clauses and a (default) underlying type. Swift SVN r11481
41 KiB
41 KiB