This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
8d381823e2
rust
/
src
/
test
/
run-pass
/
operator-associativity.rs
5 lines
101 B
Rust
Raw
Normal View
History
Unescape
Escape
Fix pexp parser to do left-associativity, not right. Closes #130.
2010-08-04 15:44:09 -05:00
// Testcase for issue #130, operator associativity.
fn
main
(
)
->
(
)
{
Un-revert "Use different syntax for checks that matter to typestate", fixing the problem. This reverts commit d08b443fffb1181d8d45ae5d061412f202dd4118.
2011-05-02 19:47:24 -05:00
assert
(
(
3
*
5
/
2
)
=
=
7
)
;
Fix pexp parser to do left-associativity, not right. Closes #130.
2010-08-04 15:44:09 -05:00
}
Reference in New Issue
Copy Permalink