File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -1247,15 +1247,12 @@ impl PythonArchEvalHooks {
12471247 let module_rc_bw = module_rc. borrow ( ) ;
12481248 let Some ( _symbol) = module_rc_bw. as_module_package ( ) . xml_id_locations . get ( xml_id. as_str ( ) ) else {
12491249 if in_validation {
1250- /*diagnostics.push(Diagnostic::new(
1251- FileMgr::textRange_to_temporary_Range(&xml_id_expr.range()),
1252- Some(DiagnosticSeverity::ERROR),
1253- Some(NumberOrString::String(S!("OLS30329"))),
1254- Some(EXTENSION_NAME.to_string()),
1255- S!("Unknown XML ID"),
1256- None,
1257- None
1258- ));*/ //removed, because there is too many valid place where we can't evaluate it correctly (see stock tests)
1250+ /*if let Some(diagnostic) = create_diagnostic(session, DiagnosticCode::OLS05001, &[]) {
1251+ diagnostics.push(Diagnostic {
1252+ range: FileMgr::textRange_to_temporary_Range(&xml_id_expr.range()),
1253+ ..diagnostic
1254+ });
1255+ }*/ //removed, because there is too many valid place where we can't evaluate it correctly (see stock tests)
12591256 }
12601257 return None ;
12611258 } ;
You can’t perform that action at this time.
0 commit comments