fixes
This commit is contained in:
parent
55abe55554
commit
ab18cdbf35
4 changed files with 6 additions and 6 deletions
4
http.spl
4
http.spl
|
@ -1,5 +1,5 @@
|
||||||
"stream.spl" import
|
"#stream.spl" import
|
||||||
"net.spl" import
|
"#net.spl" import
|
||||||
|
|
||||||
"http" net:register
|
"http" net:register
|
||||||
|
|
||||||
|
|
|
@ -633,7 +633,7 @@ pub fn import(stack: &mut Stack) -> OError {
|
||||||
}
|
}
|
||||||
if stack.include_file(
|
if stack.include_file(
|
||||||
&(*fs::canonicalize(s.clone())
|
&(*fs::canonicalize(s.clone())
|
||||||
.map_err(|x| stack.error(ErrorKind::IO(x.to_string())))?
|
.map_err(|x| stack.error(ErrorKind::IO(x.to_string() + " (opening " + &s + ")")))?
|
||||||
.as_os_str()
|
.as_os_str()
|
||||||
.to_string_lossy())
|
.to_string_lossy())
|
||||||
.to_owned(),
|
.to_owned(),
|
||||||
|
|
2
std.spl
2
std.spl
|
@ -111,7 +111,7 @@ construct _array-ext {
|
||||||
}
|
}
|
||||||
} include _array-ext in array
|
} include _array-ext in array
|
||||||
|
|
||||||
"iter.spl" import
|
"#iter.spl" import
|
||||||
|
|
||||||
construct List {
|
construct List {
|
||||||
array
|
array
|
||||||
|
|
4
test.spl
4
test.spl
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
"stream.spl" import
|
"#stream.spl" import
|
||||||
"http.spl" import
|
"#http.spl" import
|
||||||
|
|
||||||
func main { int | with args ;
|
func main { int | with args ;
|
||||||
def thing
|
def thing
|
||||||
|
|
Loading…
Add table
Reference in a new issue