Skip to content

Commit 6690516

Browse files
kevinabrson
authored andcommitted
---
yaml --- r: 7662 b: refs/heads/master c: 5e60fac h: refs/heads/master v: v3
1 parent 5fa88a4 commit 6690516

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 4795e19d6d997143a855b8ac6b5cb288e8caea35
2+
refs/heads/master: 5e60facf781efa666bc93a4493d659112c01f2b1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Regresion test for issue #1448 and #1386
2+
3+
fn main() {
4+
#macro[[#apply[f, [x, ...]], f(x, ...)]];
5+
fn add(a: int, b: int) -> int { ret a + b; }
6+
assert (#apply[add, [y, 15]] == 16); //! ERROR unresolved name: y
7+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Regresion test for issue #1448 and #1386
2+
3+
fn main() {
4+
#debug["%u", 10]; //! ERROR mismatched types
5+
}

0 commit comments

Comments
 (0)