Skip to content

extension outside of file declaring generic struct 'AnyArrayBuffer' prevents automatic synthesis of 'move(by:)' #276

@ProfFan

Description

@ProfFan
AnyArrayBuffer+Differentiable.swift:18:1: error: extension outside of file declaring generic struct 'AnyArrayBuffer' prevents automatic synthesis of 'move(by:)' for protocol 'Differentiable'
extension AnyArrayBuffer: Differentiable where Dispatch: DifferentiableArrayDispatch {
^

@BradLarson have you encountered this? I think this is a new rule added to the Swift compiler, but I don't know when or how.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions