Files
swift-mirror/test/IRGen/Inputs/objc_protocols_Bas.swift
Doug Gregor 2bf69a0ea0 Require witnesses for @objc requirements to be @objc.
Previously, we attempted to infer @objc-ness based on conformance, but
doing so is fraught with ordering dependencies, and just doesn't work
in the general case. Among other crimes, this allowed us to
retroactively mark a non-@objc method from an imported module as
@objc... even though nobody would ever then emit the @objc entry
points for it.

Fixes the rest of rdar://problem/18383574.

Swift SVN r24831
2015-01-29 22:53:53 +00:00

12 lines
239 B
Swift

// Used by the objc_protocols test to test extensions that add conformances
// using existing methods on a class.
import Foundation
public class Bas {
@objc public func runce() {}
}
public class Zang {
@objc public func funge() {}
}