Skip to content

Commit e81a555

Browse files
committed
Go: Fix formatting and documentation of AliasType
1 parent 0043421 commit e81a555

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

go/ql/lib/semmle/go/Types.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,9 +1007,12 @@ class NamedType extends @namedtype, CompositeType {
10071007
override Type getUnderlyingType() { result = this.getBaseType().getUnderlyingType() }
10081008
}
10091009

1010+
/** An alias type. */
10101011
class AliasType extends @typealias, CompositeType {
1012+
/** Gets the aliased type (i.e. that appears on the RHS of the alias definition). */
10111013
Type getRhs() { alias_rhs(this, result) }
10121014
}
1015+
10131016
/**
10141017
* A type that implements the builtin interface `error`.
10151018
*/

0 commit comments

Comments
 (0)