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

in vs inch #625

Closed
phiresky opened this Issue Mar 23, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@phiresky

phiresky commented Mar 23, 2016

There seems to be some inconsistency with the ambiguity between the in operator and the unit inch:

2in
> 2 in

2in to cm
> 5.08 cm

2in * 1in
> SyntaxError: Unexpected end of expression (char 10)

2in * 1in to cm
> TypeError: Unexpected type of argument in function multiply (expected: Array or Matrix, actual: Unit, index: 1)
@josdejong

This comment has been minimized.

Owner

josdejong commented Mar 24, 2016

Yes, this is a nasty ambiguity. Thanks for reporting.

@josdejong josdejong added the bug label Mar 24, 2016

@josdejong josdejong closed this in 5b682d6 Apr 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment