Skip to content

Code style cleanup #705

@hadley

Description

@hadley

I missed a few instances where we should use := in the tests. So probably worth generally doing another style pass once the the bulk of the PRs are merged.

Also think about new_external_generic()

Switch local_package() to take {} instead of ...:

downstream := local_package({
    own_generic := new_generic("x")
    Foo := new_external_class("upstream")
    method(own_generic, Foo) <- \(x) "from external class"
  })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions