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

Variables can't be negated with a minus #70

Open
tunguski opened this issue Jun 27, 2017 · 2 comments
Open

Variables can't be negated with a minus #70

tunguski opened this issue Jun 27, 2017 · 2 comments
Labels

Comments

@tunguski
Copy link

tunguski commented Jun 27, 2017

Taken extracted from https://raw.githubusercontent.com/rundis/elm-bootstrap/3.0.0/src/Bootstrap/Popover.elm

calculatePos pos { rect, offsetWidth, offsetHeight } =
            { left = -offsetWidth
            , top = (rect.height / 2) - (offsetHeight / 2)
            }
@tunguski tunguski changed the title Parse error Parse error in record creation Jun 27, 2017
@tunguski
Copy link
Author

left = -offsetWidth is problematic here

@wende
Copy link
Collaborator

wende commented Jun 27, 2017

Seems that generally - doesn't work before any variable name

@wende wende added the bug label Jul 1, 2017
@wende wende changed the title Parse error in record creation Variables can't be negated Jul 4, 2017
@wende wende changed the title Variables can't be negated Variables can't be negated with a minus Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants