mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This lets us disambiguate the symbols for static and instance properties, and enables us to eventually leave the useless "self" type mangling out of method symbols. Fixes rdar://19012022 and dupes thereof, including crasher #1341. Swift SVN r25111
14 lines
502 B
Swift
14 lines
502 B
Swift
// RUN: %target-swift-frontend -emit-silgen -sdk %S/Inputs -I %S/Inputs -enable-source-import %s | FileCheck %s
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
class MyFunkyDictionary: NSDictionary {
|
|
// CHECK-LABEL: sil hidden @_TZFC18super_class_method17MyFunkyDictionary10initializefMS0_FT_T_
|
|
// CHECK: super_method [volatile] %0 : $@thick MyFunkyDictionary.Type, #NSObject.initialize!1.foreign : NSObject.Type -> () -> ()
|
|
override class func initialize() {
|
|
super.initialize()
|
|
}
|
|
}
|
|
|