Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fc1943s committed Dec 8, 2024
1 parent 5313c13 commit 7874d51
Show file tree
Hide file tree
Showing 7 changed files with 2,053 additions and 2,042 deletions.
2 changes: 1 addition & 1 deletion apps/spiral/Eval.dib.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/spiral/Eval.dib.ipynb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions apps/spiral/builder/spiral_builder.dib
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@ inl process_rust { fs_path deps trace_level runtime cleanup } =
|> sm'.replace_regex
"\\s\\sdefaultOf\\(\\);"
" defaultOf::<()>();"
|> sm'.replace_regex
"\\s\\sgetZero\\(\\);"
" getZero::<()>();"
|> sm'.replace
"::Slice'_"
"::Slice__"
Expand Down
2,861 changes: 1,432 additions & 1,429 deletions apps/spiral/builder/spiral_builder.fsx

Large diffs are not rendered by default.

1,220 changes: 611 additions & 609 deletions apps/spiral/builder/spiral_builder.rs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions apps/spiral/builder/spiral_builder.spi
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,9 @@ inl process_rust { fs_path deps trace_level runtime cleanup } =
|> sm'.replace_regex
"\\s\\sdefaultOf\\(\\);"
" defaultOf::<()>();"
|> sm'.replace_regex
"\\s\\sgetZero\\(\\);"
" getZero::<()>();"
|> sm'.replace
"::Slice'_"
"::Slice__"
Expand Down
4 changes: 2 additions & 2 deletions apps/spiral/wasm/spiral_wasm.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,8 +395,8 @@ and method5 (v0 : string) : string =

#if FABLE_COMPILER_RUST && !WASM && !CONTRACT
let v2 : string = method6(v0)
let v3 : string = "std::env::var(&*v2)"
let v4 : Result<std_string_String, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr () v3
let v3 : string = "std::env::var(&*$0)"
let v4 : Result<std_string_String, std_env_VarError> = Fable.Core.RustInterop.emitRustExpr v2 v3
let v5 : string = "true; let _result_map_ = $0.map(|x| { //"
let v6 : bool = Fable.Core.RustInterop.emitRustExpr v4 v5
let v7 : string = "x"
Expand Down

0 comments on commit 7874d51

Please sign in to comment.