Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR in Stack.ts - TS2564: Property 'parent' has no initializer and is not definitely assigned in the constructor. #43

Closed
nelsonni opened this issue Feb 22, 2018 · 1 comment
Assignees
Labels
bug Bug reports or bug fixes
Milestone

Comments

@nelsonni
Copy link
Member

Per the reports of this error from @SoutiRini, the synectic@0.7.1 version appears to have an error that was previously masked but has appeared due to an update to the typescript package which allowed make deeper type inferences for class inheritance that involves a super class declaring and managing instances of parent. When attempting to compile, the tsc compiler gives the following error messages:

webpack --config webpack.config.js --progress --colors
Version: webpack 3.11.0

ERROR in /Users/Rini/Documents/Synectic/synectic/src/core/Stack.ts
[tsl] ERROR in /Users/Rini/Documents/Synectic/synectic/src/core/Stack.ts(8,10)
TS2564: Property 'parent' has no initializer and is not definitely assigned in the constructor.

ERROR in /Users/Rini/Documents/Synectic/synectic/src/core/Stack.ts
[tsl] ERROR in /Users/Rini/Documents/Synectic/synectic/src/core/Stack.ts(9,10)
TS2564: Property 'children' has no initializer and is not definitely assigned in the constructor.

The following screenshots demonstrate these errors:

parent_error_1
parent_error_2
parent_error_3

@nelsonni nelsonni added the bug Bug reports or bug fixes label Feb 22, 2018
@nelsonni nelsonni added this to the v0.7.0 milestone Feb 22, 2018
@nelsonni nelsonni self-assigned this Feb 22, 2018
nelsonni added a commit that referenced this issue Feb 22, 2018
@nelsonni nelsonni modified the milestones: v0.7.0, v0.8.0 Feb 22, 2018
@SoutiRini
Copy link

Pulled latest commit < c18e0a9 > from branch API_architecture. The bug is resolved and Syntectic runs without problems.

nelsonni added a commit that referenced this issue Feb 22, 2018
@nelsonni nelsonni added this to the v0.7.5 milestone Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports or bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants