Skip to content

Commit 5985681

Browse files
committed
Minor comment fix
1 parent 6568a14 commit 5985681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TypedSyntax/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ using JuliaSyntax: JuliaSyntax, SyntaxNode, children, is_leaf, sourcetext, kind,
22
using TypedSyntax: TypedSyntax, TypedSyntaxNode
33
using Dates, InteractiveUtils, Test
44
using Core.Compiler: widenconst
5-
using Core: Const # avoid printing it as Const
5+
using Core: Const # print it as Const, not Core.Const
66

77
has_typ(node, @nospecialize(Ts::Tuple)) = any(has_typ(node, Ts[i]) for i in 1:length(Ts))
88
has_typ(node, @nospecialize(T)) = node.typ === T || !isnothing(node.typ) && widenconst(node.typ) === T

0 commit comments

Comments
 (0)