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

Does not work for bs-platform 7.3.1 yet #447

Open
vdanchenkov opened this issue Apr 27, 2020 · 0 comments
Open

Does not work for bs-platform 7.3.1 yet #447

vdanchenkov opened this issue Apr 27, 2020 · 0 comments

Comments

@vdanchenkov
Copy link

vdanchenkov commented Apr 27, 2020

bs-platform: 7.3.1
reason-vscode: 1.7.8
OS: MacOS 10.15.4

If a file contains no errors, compilation works just fine. If there are some error, plugin does not highlight them, file silently does not compile.

I can attach full /node_modules/.lsp/debug.log if needed.

I can see some signs of found error in the debug.log.

FAILED: components/TopPanel.cmj components/TopPanel.cmi /Users/user/work/myproject/components/TopPanel.bs.js 
/Users/user/work/myproject/node_modules/bs-platform/darwin/bsc.exe -bs-package-name with-reasonml  -bs-package-output commonjs:components -color always -bs-suffix -I common -I layouts -I components/svg -I components -I bindings -I /Users/user/work/myproject/node_modules/reason-react/lib/ocaml -I /Users/user/work/myproject/node_modules/bs-css/lib/ocaml -I /Users/user/work/myproject/node_modules/bs-css-emotion/lib/ocaml  -bs-super-errors -o components/TopPanel.cmj components/TopPanel.reast

  We've found a bug for you!
  /Users/user/work/myproject/components/TopPanel.re 14:18-20
  
  12 ┆ style([
  13 ┆   width(64->px),
  14 ┆   height(48->pxg),
  15 ┆   background(hex(expanded ? "24CFED" : "25375C")),
  16 ┆   ...CssTools.centerWithFlex,
  
  The value pxg can't be found
  
  Hint: Did you mean px?
  
FAILED: subcommand failed.

On latest official version [email protected] works as expected. I'll stick with it for now.

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

No branches or pull requests

1 participant