Skip to content

Commit

Permalink
Use #fileID instead of #file (#2522)
Browse files Browse the repository at this point in the history
  • Loading branch information
z3DD3r authored Jan 17, 2025
1 parent 4c24daa commit 44bd9ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Private/Model/DictionaryInitializable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// MARK: - InitializableError

enum InitializableError: Error {
case invalidInput(file: StaticString = #file, line: UInt = #line)
case invalidInput(file: StaticString = #fileID, line: UInt = #line)
}

// MARK: - DictionaryInitializable
Expand All @@ -32,7 +32,7 @@ extension Dictionary {
@_disfavoredOverload
func value<T, KeyType: RawRepresentable>(
for key: KeyType,
file: StaticString = #file,
file: StaticString = #fileID,
line: UInt = #line)
throws -> T where KeyType.RawValue == Key
{
Expand All @@ -44,7 +44,7 @@ extension Dictionary {

func value<T: AnyInitializable, KeyType: RawRepresentable>(
for key: KeyType,
file: StaticString = #file,
file: StaticString = #fileID,
line: UInt = #line)
throws -> T where KeyType.RawValue == Key
{
Expand Down

0 comments on commit 44bd9ff

Please sign in to comment.