Skip to content

Commit

Permalink
Document workaround for known issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
player-03 committed Aug 30, 2023
1 parent 3eaa625 commit cbba2be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/echoes/macro/ComponentStorageBuilder.hx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class ComponentStorageBuilder {
var def:TypeDefinition = macro class $storageTypeName extends echoes.ComponentStorage<$componentComplexType> {
public static final instance:$storageType = new $storageTypePath();

//Known issue: after a failed build, this line may produce "Missing
//function body" errors. Workaround: restart the language server.
private function new() {
super($v{ componentTypeName });
}
Expand Down

0 comments on commit cbba2be

Please sign in to comment.