We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb9fdf6 commit e1fe502Copy full SHA for e1fe502
src/syntax_tree.jl
@@ -66,7 +66,7 @@ function Base.getproperty(data::SyntaxData, name::Symbol)
66
# Allow access for compatibility. It was renamed (with changed) semantics
67
# to `byte_end::UInt32` to match the rest of the code base, which identified
68
# nodes, by their last byte.
69
- return Int(getfield(data, :byte_end) - getfield(data, :raw).node_span + UInt32(1))
+ return Int(getfield(data, :byte_end) - getfield(data, :raw).span + UInt32(1))
70
end
71
return getfield(data, name)
72
0 commit comments