Skip to content

Precompilation fails on @agent #409

@zenna

Description

@zenna

Describe the bug
Precompilation fails on simple examples which uses @agent Zombie OSMAgent

Minimal Working Example

  1. Generate a new package TestAgents
  2. Replace TestAgents.jl with:
module TestAgents

using Agents
@agent Zombie OSMAgent begin
  infected::Bool
end

end # module

Then try using TestAgents

Agents.jl version
Agents v4.0.4
Julia 1.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions