You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cls.enter(dotc.core.Symbols.newSymbol(cls, name.toTermName, Flags.ParamAccessor|consParamFlags(clauseIdx)(elementIdx), fixedType, Symbol.noSymbol)) // add other flags (local, private, privatelocal) and set privateWithin
2731
+
cls.enter(dotc.core.Symbols.newSymbol(cls, name.toTermName, Flags.ParamAccessor|conParamFlags(clauseIdx)(elementIdx), fixedType, Symbol.noSymbol)) // set privateWithin
* @paramparents Function returning the parent classes of the class. The first parent must not be a trait.
3872
+
* @paramparents Function returning the parent classes of the class. The first parent must not be a trait
3873
3873
* Takes the constructed class symbol as an argument. Calling `cls.typeRef.asType` as part of this function will lead to cyclic reference errors.
3874
3874
* @paramdecls The member declarations of the class provided the symbol of this class
3875
3875
* @paramselfType The self type of the class if it has one
3876
-
* @paramconstructorMethodType The MethodOrPoly type representing the type of the constructor.
3877
-
* PolyType may only represent only the first clause of the constructor.
3878
-
* @paramclsFlags extra flags with which the class symbol should be constructed.
3876
+
* @paramclsFlags extra flags with which the class symbol should be constructed
3879
3877
* @paramclsPrivateWithin the symbol within which this new class symbol should be private. May be noSymbol
3880
-
* @paramconsFlags extra flags with which the constructor symbol should be constructed.
3881
-
* @paramconsPrivateWithin the symbol within which the constructor for this new class symbol should be private. May be noSymbol
3882
-
* @paramconParamFlags extra flags with which the constructor parameter symbols should be constructed. Must match the shape of @paramconstructorMethodType
3878
+
* @paramconMethodType The MethodOrPoly type representing the type of the constructor.
3879
+
* PolyType may only represent the first clause of the constructor.
3880
+
* @paramconFlags extra flags with which the constructor symbol should be constructed
3881
+
* @paramconPrivateWithin the symbol within which the constructor for this new class symbol should be private. May be noSymbol.
3882
+
* @paramconParamFlags extra flags with which the constructor parameter symbols should be constructed. Must match the shape of `conMethodType`.
0 commit comments