We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8beff28 commit dfddf8eCopy full SHA for dfddf8e
test/Dialect/Torch/invalid.mlir
@@ -25,7 +25,7 @@ torch.class_type @c {
25
}
26
%c0 = torch.constant.int 0
27
%0 = torch.nn_module {
28
- // expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() {name = "g", type = !torch.int} : () -> ()}}
+ // expected-error @+1 {{'torch.slot' op is expected to match type and name of '"torch.attr"() <{name = "g", type = !torch.int}> : () -> ()}}
29
torch.slot "f", %c0 : !torch.int
30
} : !torch.nn.Module<"c">
31
0 commit comments