This commit is contained in:
Daniella 2023-03-07 13:27:41 +01:00
parent 55abe55554
commit ab18cdbf35
Signed by: TudbuT
GPG key ID: 7D63D5634B7C417F
4 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
"stream.spl" import
"net.spl" import
"#stream.spl" import
"#net.spl" import
"http" net:register

View file

@ -633,7 +633,7 @@ pub fn import(stack: &mut Stack) -> OError {
}
if stack.include_file(
&(*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()
.to_string_lossy())
.to_owned(),

View file

@ -111,7 +111,7 @@ construct _array-ext {
}
} include _array-ext in array
"iter.spl" import
"#iter.spl" import
construct List {
array

View file

@ -1,6 +1,6 @@
"stream.spl" import
"http.spl" import
"#stream.spl" import
"#http.spl" import
func main { int | with args ;
def thing