Skip to content

Malformed expression on @non_differentiable with splatting operator #328

@dfdx

Description

@dfdx

On Julia v1.5.0 and ChainRulesCore v0.9.36:

julia> using ChainRulesCore

julia> @non_differentiable Core.print(::Any...)
ERROR: syntax: malformed expression
Stacktrace:
 [1] top-level scope at REPL[2]:1

This essentially breaks precompilation of ChainRules >= v.0.7.35.

Is it a know issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrule definition helperrelating to helpers for declaring rules

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions