Developing > AssemblyScript API > Распространенные проблемы с AssemblyScript

Распространенные проблемы с AssemblyScript

Reading time: 1 min

There are certain AssemblyScript issues that are common to run into during subgraph development. They range in debug difficulty, however, being aware of them may help. The following is a non-exhaustive list of these issues:

  • Private class variables are not enforced in AssembyScript. There is no way to protect class variables from being directly changed from the class object.
  • Scope is not inherited into closure functions, i.e. variables declared outside of closure functions cannot be used. Explanation in Developer Highlights #3.
Редактировать страницу

Предыдущий
AssemblyScript API
Следующий
Фреймворк модульного тестирования
Редактировать страницу