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

Interface of sub module are not seen used #186

Closed
florentbarriol opened this issue Dec 12, 2022 · 3 comments · Fixed by rescript-lang/rescript-vscode#650
Closed

Interface of sub module are not seen used #186

florentbarriol opened this issue Dec 12, 2022 · 3 comments · Fixed by rescript-lang/rescript-vscode#650

Comments

@florentbarriol
Copy link

florentbarriol commented Dec 12, 2022

Hello 👋 ,
We use renalyze in our CI at Arte TV.
And we face an issue with interface (.resi) of submodule.
They do not seem to be seen by the analyze even if they are well used.

I create an example repository to illustrate the issue : https://github.com/florentbarriol/issue-interface-submodule

We find a workaround for now. We use inline interface and not .resi files.
You will find an example in the repository.

Hope, you will find a solution because we love the projet.
It's very helpful ❤️

@cristianoc
Copy link
Collaborator

@florentbarriol the analysis has moved inside the editor extension. The fix is here: rescript-lang/rescript-vscode#650

@cristianoc
Copy link
Collaborator

The executable used by the editor extension has an option reanalyze. This is only used to test the extension at the moment, but could be used in CI as well as long as you get the extension's executable there.
E.g. on my machine:

~/.vscode/extensions/chenglou92.rescript-vscode-1.9.35/server/analysis_binaries/darwinarm64/rescript-editor-analysis.exe reanalyze -help

@florentbarriol
Copy link
Author

Thanks for your work !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants