Skip to content

Commit 7ae3142

Browse files
committed
Removed the deprecations from the legacy entrypoints.
These aren't particularly useful, and they introduce a ton of warnings into a soon-to-land port of the legacy PlaygroundLogger's tests.
1 parent 527f6a6 commit 7ae3142

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

PlaygroundLogger/PlaygroundLogger/LegacySupport/LegacyEntrypoints.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
*/
2626

2727
@_silgen_name("playground_logger_initialize")
28-
@available(*, deprecated, message: "Use modern PlaygroundLogger initialization instead")
2928
public func legacyInitializePlaygroundLogger() -> Void {
3029
Swift._playgroundPrintHook = printHook
3130
sendData = legacySendDataStub
@@ -36,7 +35,6 @@ fileprivate func legacySendDataStub(_: NSData) -> Void {
3635
}
3736

3837
@_silgen_name("playground_log_hidden")
39-
@available(*, deprecated, message: "Use modern PlaygroundLogger log function instead")
4038
public func legacyLog<T>(instance: T, name: String, id: Int, startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
4139
let packet = LogPacket(describingResult: instance, named: name, startLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
4240

@@ -46,7 +44,6 @@ public func legacyLog<T>(instance: T, name: String, id: Int, startLine: Int, end
4644
}
4745

4846
@_silgen_name ("playground_log_scope_entry")
49-
@available(*, deprecated, message: "Use modern PlaygroundLogger log scope entry function instead")
5047
public func legacyLogScopeEntry(startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
5148
let packet = LogPacket(scopeEntryWithStartLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
5249

@@ -56,7 +53,6 @@ public func legacyLogScopeEntry(startLine: Int, endLine: Int, startColumn: Int,
5653
}
5754

5855
@_silgen_name ("playground_log_scope_exit")
59-
@available(*, deprecated, message: "Use modern PlaygroundLogger log scope exit function instead")
6056
public func legacyLogScopeExit(startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
6157
let packet = LogPacket(scopeExitWithStartLine: startLine, endLine: endLine, startColumn: startColumn, endColumn: endColumn)
6258

@@ -66,7 +62,6 @@ public func legacyLogScopeExit(startLine: Int, endLine: Int, startColumn: Int, e
6662
}
6763

6864
@_silgen_name ("playground_log_postprint")
69-
@available(*, deprecated, message: "Use modern PlaygroundLogger postprint function instead")
7065
func legacyLogPostPrint(startLine: Int, endLine: Int, startColumn: Int, endColumn: Int) -> AnyObject {
7166
let printedString = Thread.current.threadDictionary[printedStringThreadDictionaryKey] as! String? ?? ""
7267

0 commit comments

Comments
 (0)