You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adjust the Parse/objc_enum test for Windows. Windows x64 is a LLp64 target,
which imports `Int` differently. Explicitly use `Int32` for the inheritance.
@objcenumGeneric<T>:Int{ // expected-error{{'@objc' enum cannot be generic}} {{1-7=}}
7
+
@objcenumGeneric<T>:Int32{ // expected-error{{'@objc' enum cannot be generic}} {{1-7=}}
8
8
case Zim, Zang, Zung
9
9
}
10
10
@@ -30,7 +30,7 @@ class Bar {
30
30
}
31
31
32
32
// <rdar://problem/23681566> @objc enums with payloads rejected with no source location info
33
-
@objcenumr23681566:Int{ // expected-error {{'r23681566' declares raw type 'Int', but does not conform to RawRepresentable and conformance could not be synthesized}} expected-note {{declared raw type 'Int' here}}
33
+
@objcenumr23681566:Int32{ // expected-error {{'r23681566' declares raw type 'Int32', but does not conform to RawRepresentable and conformance could not be synthesized}} expected-note {{declared raw type 'Int32' here}}
34
34
case Foo(progress:Int) // expected-error {{enum with raw type cannot have cases with arguments}}
0 commit comments