mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
The line info should now points to the `a`, not the `*`, like this:
a*: string
^
Additionally this fixes nimsuggest's highlighting of exported object
fields.
12 lines
175 B
Nim
12 lines
175 B
Nim
type
|
|
O = object
|
|
a*: int#[!]#
|
|
|
|
discard """
|
|
$nimsuggest --tester $file
|
|
>highlight $1
|
|
highlight;;skType;;2;;2;;1
|
|
highlight;;skType;;3;;8;;3
|
|
highlight;;skField;;3;;4;;1
|
|
"""
|