Rules for map
, zip
and some comprehensions
#89
Annotations
1 error and 2 warnings
Run reviewdog/action-suggester@v1
Process completed with exit code 1.
|
Run reviewdog/action-suggester@v1:
src/unzipped.jl#L186
[JuliaFormatter] reported by reviewdog 🐶
Raw Output:
src/unzipped.jl:186:- each = if count(!Base.issingletontype, Ts.parameters) < 2 && all(isbitstype, Ts.parameters)
src/unzipped.jl:187:- # good case, no copy of data, some trivial arrays
src/unzipped.jl:188:- [Base.issingletontype(T) ? :(similar(xs, $T)) : :(reinterpret($T, xs)) for T in Ts.parameters]
src/unzipped.jl:189:- else
src/unzipped.jl:190:- [:(map($(Get(i)), xs)) for i in 1:length(fieldnames(Ts))]
src/unzipped.jl:191:- end
src/unzipped.jl:192:- Expr(:tuple, each...)
src/unzipped.jl:201:+ each =
src/unzipped.jl:202:+ if count(!Base.issingletontype, Ts.parameters) < 2 && all(isbitstype, Ts.parameters)
src/unzipped.jl:203:+ # good case, no copy of data, some trivial arrays
src/unzipped.jl:204:+ [
src/unzipped.jl:205:+ Base.issingletontype(T) ? :(similar(xs, $T)) : :(reinterpret($T, xs)) for
src/unzipped.jl:206:+ T in Ts.parameters
src/unzipped.jl:207:+ ]
src/unzipped.jl:208:+ else
src/unzipped.jl:209:+ [:(map($(Get(i)), xs)) for i in 1:length(fieldnames(Ts))]
src/unzipped.jl:210:+ end
src/unzipped.jl:211:+ return Expr(:tuple, each...)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@latest. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading