Files
swift-mirror/test/Interpreter/Inputs/dynamic_replacement_chaining_B.swift
Arnold Schwaighofer fb7b223ba2 Add support to modify chaining behavior of dynamic replacements
Default to not chain dynamic replacements: Only one replacement and the
original implementation are active.
2018-11-09 13:17:09 -08:00

9 lines
112 B
Swift

import A
extension Impl {
@_dynamicReplacement(for: foo())
func repl() -> Int {
return foo() + 1
}
}