#77 Automatically adding instance variables in class method breaks the package

Đã đóng
%! (template.HTML=7 năm trước cách đây)đang mở bởi shepheb · 2 ý kiến

Here's the flow:

  1. Create a class method that references an unknown class instance variable; try to save it.
  2. Helios prompts you to create it; select Confirm.
  3. Error message appears: "JavaScript exception: TypeError: traitOrClass.added is not a function"
  4. Click Abandon on that error.
  5. Make some other, legal edit so your package is dirty.
  6. Try to commit it, error message "nil does not understand #name", package is not committed.

There's no visible code change to revert; this seems unrecoverable except by a refresh, and now whatever edits one has made are lost.

Here's the flow: 1. Create a class method that references an unknown class instance variable; try to save it. 1. Helios prompts you to create it; select Confirm. 1. Error message appears: "JavaScript exception: TypeError: traitOrClass.added is not a function" 1. Click Abandon on that error. 1. Make some other, legal edit so your package is dirty. 1. Try to commit it, error message "nil does not understand #name", package is not committed. There's no visible code change to revert; this seems unrecoverable except by a refresh, and now whatever edits one has made are lost.
Herby Vojčík đã nhận xét 7 năm trước cách đây
Chủ sở hữu

That traitOrClass.added is not a function is scary (but a good pointer as it is clear where this is called).

That `traitOrClass.added is not a function` is scary (but a good pointer as it is clear where this is called).
Herby Vojčík đã nhận xét 7 năm trước cách đây
Chủ sở hữu

Bug is upstream: amber/amber#1235, closing.

Bug is upstream: https://lolg.it/amber/amber/issues/1235, closing.
Đăng nhập để tham gia bình luận.
Không có nhãn
Không có Milestone
Không có người được phân công
2 tham gia
Đang tải...
Hủy bỏ
Lưu
Ở đây vẫn chưa có nội dung nào.