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

Fechado
há 7 anos atrás aberto por shepheb · 2 comentários

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 comentado há 7 anos atrás
Proprietário

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 comentado há 7 anos atrás
Proprietário

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

Bug is upstream: https://lolg.it/amber/amber/issues/1235, closing.
Faça login para participar desta conversação.
Sem Etiqueta
Sem Objetivo
Sem utilizador atribuido
2 Participantes
A carregar...
Cancelar
Guardar
Ainda não existe conteúdo.