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

constructor(ConstructorSpec) #20

Open
tieskedh opened this issue Oct 25, 2018 · 0 comments
Open

constructor(ConstructorSpec) #20

tieskedh opened this issue Oct 25, 2018 · 0 comments
Labels

Comments

@tieskedh
Copy link
Owner

tieskedh commented Oct 25, 2018

buildClazz{
     clazz("hi"){
         constructor(/*constructorSpec here*/)
    }
}

Add the moment, it works with the isPrimary of the constructorSpec: primary is treated as other accessors.

But it can be explained the other way around: constructor is not primary, so it should not have primary added.

options:

  • change primary.constructor in primaryConstructor
  • remove constructor() -> accept remains and is easy to explain
  • leave: primary looks like accessor and should be treated as one
@tieskedh tieskedh changed the title constructor(ConstructorSpec constructor(ConstructorSpec) Oct 25, 2018
@tieskedh tieskedh added this to the v0.2 milestone Oct 25, 2018
@tieskedh tieskedh removed this from the v0.2 milestone Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant