Skip to content

Commit b36acec

Browse files
committed
Fix a bad report type usage
1 parent feede61 commit b36acec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/emmylua_code_analysis/src/compilation/analyzer/doc/type_ref_tags.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ pub fn analyze_type(analyzer: &mut DocAnalyzer, tag: LuaDocTagType) -> Option<()
142142
}
143143
}
144144
}
145+
LuaAst::LuaReturnStat(_) => {
146+
// ignore
147+
}
145148
_ => {
146149
report_orphan_tag(analyzer, &tag);
147150
}

0 commit comments

Comments
 (0)