mtype.d (dmd-2.095.0) | : | mtype.d (dmd-2.095.1) | ||
---|---|---|---|---|
skipping to change at line 7064 | skipping to change at line 7064 | |||
covariant[SR.Ref ][SR.ReturnRef] = true; | covariant[SR.Ref ][SR.ReturnRef] = true; | |||
covariant[SR.ReturnRef_Scope][SR.ReturnRef] = true; | covariant[SR.ReturnRef_Scope][SR.ReturnRef] = true; | |||
covariant[SR.Ref_ReturnScope][SR.Ref ] = true; | covariant[SR.Ref_ReturnScope][SR.Ref ] = true; | |||
covariant[SR.Ref_ReturnScope][SR.ReturnRef] = true; | covariant[SR.Ref_ReturnScope][SR.ReturnRef] = true; | |||
return covariant; | return covariant; | |||
} | } | |||
extern (D) private static immutable bool[SR.max + 1][SR.max + 1] covariant = covariantInit(); | extern (D) private static immutable bool[SR.max + 1][SR.max + 1] covariant = covariantInit(); | |||
extern (D) bool opEquals(const Parameter other) const | ||||
{ | ||||
return this.storageClass == other.storageClass | ||||
&& this.type == other.type; | ||||
} | ||||
} | } | |||
/************************************************************* | /************************************************************* | |||
* For printing two types with qualification when necessary. | * For printing two types with qualification when necessary. | |||
* Params: | * Params: | |||
* t1 = The first type to receive the type name for | * t1 = The first type to receive the type name for | |||
* t2 = The second type to receive the type name for | * t2 = The second type to receive the type name for | |||
* Returns: | * Returns: | |||
* The fully-qualified names of both types if the two type names are not the same, | * The fully-qualified names of both types if the two type names are not the same, | |||
* or the unqualified names of both types if the two type names are the same. | * or the unqualified names of both types if the two type names are the same. | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added |