@zzzen/pyright-internal 1.2.0-dev.20251012 → 1.2.0-dev.20251019

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.
@@ -4378,6 +4378,11 @@ class Checker extends parseTreeWalker_1.ParseTreeWalker {
4378
4378
  type: this._evaluator.printType(entry.valueType),
4379
4379
  }));
4380
4380
  }
4381
+ else if (!baseTypedDictEntries.extraItems.isReadOnly && entry.isReadOnly) {
4382
+ diag.addMessage(localize_1.LocAddendum.typedDictClosedFieldNotReadOnly().format({
4383
+ name,
4384
+ }));
4385
+ }
4381
4386
  else if (!baseTypedDictEntries.extraItems.isReadOnly && entry.isRequired) {
4382
4387
  diag.addMessage(localize_1.LocAddendum.typedDictClosedFieldNotRequired().format({
4383
4388
  name,