-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
configuration.ts, notation.ts circular dependencies #2275
Comments
Thanks for filing this issue. I was refactoring this code a couple of days ago and came across this. Typescript wasn't complaining about this circular dependency so I left it. Should be an easy fix. |
jpoon
added a commit
that referenced
this issue
Jan 10, 2018
jpoon
added a commit
that referenced
this issue
Jan 10, 2018
jpoon
added a commit
that referenced
this issue
Jan 10, 2018
jpoon
added a commit
that referenced
this issue
Jan 10, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
I was trying to build master with VSCode 'build, run extension' profile but build failed due to:
It looks like the problem is with circular dependencies between configuration.ts and notation.ts:
src/configuration/notation.ts:
src/configuration/configuration.ts:
notation.ts uses Configuration instance only to resolve "<leader> keymap":
and at this point module is empty, so Configuration is undefined
What did you expect to happen:
success build
How to reproduce it (as minimally and precisely as possible):
add "<leader>" into user config for any keybinding, f.e:
and run build or tests from VSCode
Environment:
I could submit PR if this is really an issue and I am not missing something and if someone helps me with the best solution to fix it as I'm not sure about it :/
Thanks!
The text was updated successfully, but these errors were encountered: