Skip to content

Commit

Permalink
Actually, we don't have to initialize the adaptersFactory field
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Degueule committed Feb 26, 2015
1 parent 3136c35 commit efbbc0f
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -81,9 +81,7 @@ class MetaclassAdapterInferrer
// TODO: Type parameters
cls.ETypeParameters.forEach[p |]

jvmCls.members += mm.toField("adaptersFactory", mm.getAdaptersFactoryNameFor(superType).typeRef)[
initializer = '''«mm.getAdaptersFactoryNameFor(superType)».getInstance()'''
]
jvmCls.members += mm.toField("adaptersFactory", mm.getAdaptersFactoryNameFor(superType).typeRef)

jvmCls.members += mm.toConstructor[
body = '''
Expand Down

0 comments on commit efbbc0f

Please sign in to comment.