mkitti / StaticStrings.jl

Fixed-length strings in Julia represented by NTuples
MIT License
13 stars 2 forks source link

Warning about unused type variable. #12

Closed nhz2 closed 1 year ago

nhz2 commented 1 year ago

In Julia 1.9 I get the following warning when using this package:

WARNING: method definition for SubStaticString at /home/runner/.julia/packages/StaticStrings/QNj2T/src/types.jl:42 declares type variable N but does not use it.
WARNING: method definition for SubStaticString at /home/runner/.julia/packages/StaticStrings/QNj2T/src/types.jl:44 declares type variable N but does not use it.

https://github.com/mkitti/StaticStrings.jl/blob/f0b847f59ac057a0a1ef3f62d57760f4807e3c7e/src/types.jl#L42

https://github.com/mkitti/StaticStrings.jl/blob/f0b847f59ac057a0a1ef3f62d57760f4807e3c7e/src/types.jl#L44