@zzzen/pyright-internal 1.2.0-dev.20250921 → 1.2.0-dev.20251005

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1394,6 +1394,9 @@ class Checker extends parseTreeWalker_1.ParseTreeWalker {
1394
1394
  if ((0, types_1.isNever)(leftType) || (0, types_1.isNever)(rightType)) {
1395
1395
  return;
1396
1396
  }
1397
+ if ((0, types_1.isModule)(leftType) || (0, types_1.isModule)(rightType)) {
1398
+ return;
1399
+ }
1397
1400
  const getMessage = () => {
1398
1401
  return node.d.operator === 12 /* OperatorType.Equals */ || node.d.operator === 39 /* OperatorType.Is */
1399
1402
  ? localize_1.LocMessage.comparisonAlwaysFalse()