blob: 6d6621cc54fe30a445f18ce651eaf598b5134722 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#[sylt_macro::extern_link]
pub fn f(x: sylt::Value, _typecheck: bool) -> Result<sylt::Value, sylt::error::ErrorKind> {
Ok(x)
}
#[sylt_macro::extern_link(g)]
pub fn f2(x: sylt::Value, _typecheck: bool) -> Result<sylt::Value, sylt::error::ErrorKind> {
Ok(x)
}
mod m1 {
mod m2 {
#[sylt_macro::extern_link(h)]
pub fn f2(x: sylt::Value, _typecheck: bool) -> Result<sylt::Value, sylt::error::ErrorKind> {
Ok(x)
}
}
}
|