-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
It is not clear to me which exact conditions trigger this error but the definition below triggers method override errors for me:
using ProtoStructs: @proto
@proto struct SimulatorState
disk_positions::AbstractArray{Float32,2}
ego_index::Int
opponent_indices::AbstractVector{Int}
object_indices::AbstractVector{Int}
mouse_position::AbstractVector{Float32}
endWARNING: Method definition (::Type{ToyContactSimulator.SimulatorState{P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, NT} where NT<:(NamedTuple{names, T} where T<:Tuple where names) where P15 where P14 where P13 where P12 where P11 where P10 where P9 where P8 where P7 where P6 where P5 where P4 where P3 where P2 where P1})(AbstractArray{Float32, 2}, Int64, AbstractArray{Int64, 1}, AbstractArray{Int64, 1}, AbstractArray{Float32, 1}) in module ToyContactSimulator at /home/lassepe/.julia/packages/ProtoStructs/6Bp9y/src/ProtoStruct.jl:218 overwritten at /home/lassepe/.julia/packages/ProtoStructs/6Bp9y/src/ProtoStruct.jl:223.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.jogardi
Metadata
Metadata
Assignees
Labels
No labels