remove return type for source constructors

This commit is contained in:
Dave Holoway
2020-06-21 21:36:56 +01:00
parent 43c701adc8
commit 491086a750

View File

@@ -184,9 +184,6 @@ class SpecialisedSourceType extends CEIType {
get parameters() { get parameters() {
return this._parameters; return this._parameters;
} }
get returnType() {
return this.owner;
}
get typeVariables() { get typeVariables() {
return this.source.typeVars; return this.source.typeVars;
} }
@@ -320,13 +317,6 @@ class SourceConstructor extends Constructor {
return this.sourceParameters; return this.sourceParameters;
} }
/**
* @returns {SourceType}
*/
get returnType() {
return this.owner;
}
get typeVariables() { get typeVariables() {
return this.typeVars; return this.typeVars;
} }