Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
davdroman committed Jul 16, 2024
1 parent 77e0431 commit c4a5fd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 84 deletions.
2 changes: 1 addition & 1 deletion Sources/PlatformViewVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public enum PlatformViewVersion<Version: PlatformVersion, SwiftUIViewType: Intro
@_spi(Advanced) public static func unavailable(file: StaticString = #file, line: UInt = #line) -> Self {
let filePath = file.withUTF8Buffer { String(decoding: $0, as: UTF8.self) }
let fileName = URL(fileURLWithPath: filePath).lastPathComponent
runtimeWarn(
print(
"""
If you're seeing this, someone forgot to mark \(fileName):\(line) as unavailable.
Expand Down
83 changes: 0 additions & 83 deletions Sources/RuntimeWarnings.swift

This file was deleted.

0 comments on commit c4a5fd2

Please sign in to comment.