Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infer function #14

Open
vladfaust opened this issue Feb 19, 2022 · 0 comments
Open

Infer function #14

vladfaust opened this issue Feb 19, 2022 · 0 comments
Labels
spec Specification conformance

Comments

@vladfaust
Copy link
Member

Shall infer def function 1 in a type definition context.

struct Foo {
  bar() => baz()
}

# Equivalent of:
struct Foo {
  def function bar() {
    baz()
  }
}

Footnotes

  1. foo() → (function foo()def foo()) → def function foo(); decl foo()decl function foo(); impl foo()impl function foo().

@vladfaust vladfaust added the spec Specification conformance label Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec Specification conformance
Projects
None yet
Development

No branches or pull requests

1 participant