Skip to content

Implement support for file includes #104

Implement support for file includes

Implement support for file includes #104

Triggered via pull request December 27, 2023 10:00
Status Failure
Total duration 3m 16s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
windows-2019
[xUnit.net 00:00:08.26] ParsingTests.tests_include_include-1.can parse [FAIL]
ParsingTests.tests_include_include-1.can parse
System.AggregateException : One or more errors occurred. (Directory: D:\a\visp-fs\visp-fs\tests\Visp.Compiler.UnitTests\snapshots NotEqual: - Received: tests_include_include-1.can parse.received.txt Verified: tests_include_include-1.can parse.verified.txt FileContent: NotEqual: Received: tests_include_include-1.can parse.received.txt // This file is auto-generated #nowarn "0020" // unused results from functions open Visp.Runtime.Library let state = { Todo = () } // line 8 @"include-1.visp" printfn "include-1 loading..." // line 10 @"include-1.visp" let _ = "./nested/skip-nested-0.visp" // line 8 @"nested\skip-nested-0.visp" printfn "skip-nested-0 loading" // line 10 @"nested\skip-nested-0.visp" let Nested0IncludedFunction () = // line 11 @"nested\skip-nested-0.visp" printfn "Calling Nested0IncludedFunction" // line 13 @"nested\skip-nested-0.visp" printfn "skip-nested-0 loaded..." // line 15 @"nested\skip-nested-0.visp" let _ = "./skip-nested-1.visp" // line 8 @"nested\skip-nested-1.visp" printfn "skip-nested-1 loading" // line 10 @"nested\skip-nested-1.visp" let Nested1IncludedFunction () = // line 11 @"nested\skip-nested-1.visp" printfn "Calling Nested1IncludedFunction" // line 13 @"nested\skip-nested-1.visp" printfn "skip-nested-1 loaded..." // line 12 @"include-1.visp" printfn "include-1 loaded" // line 14 @"include-1.visp" Nested0IncludedFunction () // line 16 @"include-1.visp" Nested1IncludedFunction () // line 18 @"include-1.visp" let visp_result_todo = () // line 18 @"include-1.visp" printfn "%A" visp_result_todo Verified: tests_include_include-1.can parse.verified.txt // This file is auto-generated #nowarn "0020" // unused results from functions open Visp.Runtime.Library let state = { Todo = () } // line 8 @"include-1.visp" printfn "include-1 loading..." // line 10 @"include-1.visp" let _ = "./nested/skip-nested-0.visp" // line 8 @"nested/skip-nested-0.visp" printfn "skip-nested-0 loading" // line 10 @"nested/skip-nested-0.visp" let Nested0IncludedFunction () = // line 11 @"nested/skip-nested-0.visp" printfn "Calling Nested0IncludedFunction" // line 13 @"nested/skip-nested-0.visp" printfn "skip-nested-0 loaded..." // line 15 @"nested/skip-nested-0.visp" let _ = "./skip-nested-1.visp" // line 8 @"nested/skip-nested-1.visp" printfn "skip-nested-1 loading" // line 10 @"nested/skip-nested-1.visp" let Nested1IncludedFunction () = // line 11 @"nested/skip-nested-1.visp" printfn "Calling Nested1IncludedFunction" // line 13 @"nested/skip-nested-1.visp" printfn "skip-nested-1 loaded..." // line 12 @"include-1.visp" printfn "include-1 loaded" // line 14 @"include-1.visp" Nested0IncludedFunction () // line 16 @"include-1.visp" Nested1IncludedFunction () // line 18 @"include-1.visp" let visp_result_todo = () // line 18 @"include-1.visp" printfn "%A" visp_result_todo ) ---- VerifyException : Directory: D:\a\visp-fs\visp-fs\tests\Visp.Compiler.UnitTests\snapshots NotEqual: - Received: tests_include_include-1.can parse.received.txt Verified: tests_include_include-1.can parse.verified.txt FileContent: NotEqual: Received: tests_include_include-1.can parse.received.txt // This file is auto-generated #nowarn "0020" // unused results from functions open Visp.Runtime.Library let state = { Todo = () } // line 8 @"include-1.visp" printfn "include-1 loading..." // line 10 @"include-1.visp" let _ = "./nested/skip-nested-0.visp" // line 8 @"nested\skip-nested-0.visp" printfn "skip-nested-0 loading" // line 10 @"nested\skip-nested-0.visp" let Nested0IncludedFunction () = // line 11 @"nested\skip-nested-0.visp" printfn "Calling Nested0IncludedFunction" // line 13 @"nested\skip-nested-0.visp" printfn "skip-nested-0 loaded..." // line 15 @"nested\skip-nested-0.visp" let _ = "./skip-nested-1.visp" // line 8 @"nested\skip-nested-1.visp" printfn "skip-nested-1 loading" // line 10 @"nested\skip-nested-1.visp" let Nested1IncludedFunction () = // line 11 @"nested\skip-nested-1.visp" printfn "Calling Nested1IncludedFunction" // line 13 @"nested\skip-nested-1.visp" printfn "ski
windows-2019
Target "Test" has thrown an exception
windows-2019
Process completed with exit code 1.