FemtoCleaner.jl icon indicating copy to clipboard operation
FemtoCleaner.jl copied to clipboard

Function with Output annotation

Open blegat opened this issue 7 years ago • 0 comments

The function

f{T}()::Vector{T} = T[]

should be updated to

(f()::Vector{T}) where {T} = T[]

but FemtoCleaner update it to

f()::Vector{T} where {T} = T[]

without parentheses, see https://github.com/JuliaStochOpt/ParameterJuMP.jl/commit/6638b51f6d52baeb4d28feb4abf2b5095e3e220d#diff-f165da18cca33b93d7a66fb0d16bc170R249

blegat avatar Aug 08 '18 11:08 blegat