diff --git a/java/ql/src/semmle/code/Unit.qll b/java/ql/src/semmle/code/Unit.qll index ca60616e336..e9611ed3df4 100644 --- a/java/ql/src/semmle/code/Unit.qll +++ b/java/ql/src/semmle/code/Unit.qll @@ -5,5 +5,6 @@ private newtype TUnit = TMkUnit() /** The trivial type with a single element. */ class Unit extends TUnit { + /** Gets a textual representation of this element. */ string toString() { result = "unit" } }