Skip to content

Commit 0bd306a

Browse files
committed
remove hack from error fixed by compact handle adjusting
1 parent d414e70 commit 0bd306a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

naga/src/valid/handles.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,6 @@ impl super::Validator {
291291
source: TypeError::InvalidData(comment_struct_member_doc.0 .0),
292292
})?;
293293
}
294-
crate::TypeInner::Scalar(_) => {
295-
// TODO: debug why this can happen, if we systematically add all couples "Type/index" for struct members.
296-
// This has been mitigated by not adding them when there is no comments, but it's probably not enough.
297-
}
298294
_ => {
299295
// TODO: internal error ? We should never get here.
300296
return Err(ValidationError::Type {

0 commit comments

Comments
 (0)