Files
swift-mirror/test/refactoring/AddCodableImplementation/empty.swift
Louis D'hauwe 5d36507a2f [Refactoring] Add Codable refactoring action
Inserts the synthesized implementation.
As part of this, fix some ASTPrinter bugs.

rdar://87904700
2022-02-02 14:14:23 -08:00

7 lines
263 B
Swift

// RUN: rm -rf %t.result && mkdir -p %t.result
struct User: Codable {
}
// RUN: %refactor -add-explicit-codable-implementation -source-filename %s -pos=3:8 > %t.result/codable.swift
// RUN: diff -u %S/Outputs/empty/codable.swift.expected %t.result/codable.swift