Skip to content

Code style cleanup #705

Closed
Closed

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"
  })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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