Disallow comparison for reference types.

Fixes #2690
This commit is contained in:
chriseth
2015-08-07 17:50:54 +02:00
parent ab33328d1f
commit b1563878b6
+4
View File
@@ -409,6 +409,10 @@ public:
DataLocation location() const { return m_location; }
virtual TypePointer unaryOperatorResult(Token::Value _operator) const override;
virtual TypePointer binaryOperatorResult(Token::Value, TypePointer const&) const override
{
return TypePointer();
}
virtual unsigned memoryHeadSize() const override { return 32; }
/// @returns a copy of this type with location (recursively) changed to @a _location,