Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ public ClassDefinition build() {
for (Statement statement : classDef.statements()) {
Preconditions.checkState(
statement instanceof CommentStatement
|| statement instanceof EmptyLineStatement
|| statement instanceof ExprStatement
|| statement instanceof BlockStatement,
"Class statement type must be either an expression, block, or comment statement");
Expand Down
Loading