From 67fff92756759f2bbf74032891dd07e6642cbfa8 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Mon, 8 Jan 2024 00:06:11 +0000 Subject: [PATCH] Fix test? There seems to be a weird bug on nightly, where Type{Int} doesn't get printed if `fibcall` is defined once. --- test/test_codeview_vscode.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_codeview_vscode.jl b/test/test_codeview_vscode.jl index 55ba0035..9278fd37 100644 --- a/test/test_codeview_vscode.jl +++ b/test/test_codeview_vscode.jl @@ -207,6 +207,7 @@ include("test_vscode_example_functions.jl") @test equal_upto_ordering(first(values(VSCodeServer.inlay_hints[1])), [ TypedSyntax.InlayHint(14, 18, "::Float64", 1) TypedSyntax.InlayHint(14, 19, "::$Int", 1) + TypedSyntax.InlayHint(15, 11, "::Type{$Int}", 1) TypedSyntax.InlayHint(15, 13, "::Float64", 1) TypedSyntax.InlayHint(15, 14, "::$Int", 1) TypedSyntax.InlayHint(16, 9, "::Float64", 1) @@ -250,6 +251,7 @@ include("test_vscode_example_functions.jl") @test equal_upto_ordering(first(values(VSCodeServer.inlay_hints[1])), [ TypedSyntax.InlayHint(14, 18, "::$Int", 1) TypedSyntax.InlayHint(14, 19, "::$Int", 1) + TypedSyntax.InlayHint(15, 11, "::Type{$Int}", 1) TypedSyntax.InlayHint(15, 13, "::$Int", 1) TypedSyntax.InlayHint(15, 14, "::$Int", 1) TypedSyntax.InlayHint(16, 9, "::$Int", 1)