Skip to content

Commit 328f8d9

Browse files
authored
Guard definition of convert for Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, Integer (#50)
* Guard definition of convert for ::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T * Edit the file in folder instead of the output
1 parent 0834cab commit 328f8d9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
if !isdefined(@__MODULE__, :IoK8sApimachineryPkgUtilIntstrIntOrString)
22
const IoK8sApimachineryPkgUtilIntstrIntOrString = String
3+
convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v)
34
else
45
@warn("Skipping redefinition of IoK8sApimachineryPkgUtilIntstrIntOrString to String")
56
end
6-
7-
convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v)
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
if !isdefined(@__MODULE__, :IoK8sApimachineryPkgUtilIntstrIntOrString)
22
const IoK8sApimachineryPkgUtilIntstrIntOrString = String
3+
convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v)
34
else
45
@warn("Skipping redefinition of IoK8sApimachineryPkgUtilIntstrIntOrString to String")
56
end
6-
7-
convert(::Type{IoK8sApimachineryPkgUtilIntstrIntOrString}, v::T) where {T<:Integer} = string(v)

0 commit comments

Comments
 (0)