Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Bug: JSON AST view is not updated when the source changes after an error

Đang mở
#541 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@DMartens đang làm issue này rồi.

Từ ngày 11/9/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug repro:yes
What browser did you use to see problem?

Chrome and Firefox

What did you do?

In Code Explorer I chose the JavaScript language and switched to JSON AST view.

In the source panel on the left, I entered a bigint, e.g. 2n. Then I deleted it again.

Image

The panel on the right shows an error because the AST is not serializable, which is fine, but the error remains even if the source is modified to remove the unserializable bigint.

Example

What did you expect to happen?

The error in the right panel should disappear when the source is edited and the AST becomes serializable.

What actually happened?

The error remains even when the source is changed.

Participation
  • I am willing to submit a pull request for this issue.
AI acknowledgment
  • I did not use AI to generate this issue report.
  • (If the above is not checked) I have reviewed the AI-generated content before submitting.
Additional comments

No response

Ngôn ngữ chính
TypeScript
Star
64
Fork
26
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
33

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eslint/code-explorer

Tất cả issue của eslint/code-explorer

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.