File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/snap-stage3/src/test/compile-fail Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2898dcc5d97da9427ac367542382b6239d9c0bbf
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 26bd186726124e76714b98d1e28afe477bd99353
4
+ refs/heads/snap-stage3: 3f56c0a42de5a9a8cc9698148622263c88de01fa
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change 1
- fn f ( f : fn @( int ) -> bool ) -> bool { f ( 10 ) }
1
+ fn f ( f : fn @( int ) -> bool ) -> bool { f ( 10 i ) }
2
2
3
3
fn main ( ) {
4
- assert do f( ) { |i| i == 10 } == 10 ; //! ERROR: expected `bool` but found `int`
4
+ assert do f( ) { |i| i == 10 i } == 10 i ; //! ERROR: expected `bool` but found `int`
5
5
}
You can’t perform that action at this time.
0 commit comments