42 lines
753 B
Plaintext
42 lines
753 B
Plaintext
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code TypeAliasNameConflict)
|
|
(message "type alias `main` conflicts with a function")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 61 65)
|
|
(range 6 7 6 11)
|
|
)
|
|
(related
|
|
(span
|
|
(file "<fixture>")
|
|
(bytes 90 113)
|
|
(range 10 1 11 5)
|
|
(message "function declaration")
|
|
)
|
|
)
|
|
)
|
|
|
|
(diagnostic
|
|
(schema slovo.diagnostic)
|
|
(version 1)
|
|
(severity error)
|
|
(code TypeAliasNameConflict)
|
|
(message "type alias `c_add` conflicts with a C import")
|
|
(file "<fixture>")
|
|
(span
|
|
(bytes 78 83)
|
|
(range 8 7 8 12)
|
|
)
|
|
(related
|
|
(span
|
|
(file "<fixture>")
|
|
(bytes 26 31)
|
|
(range 4 11 4 16)
|
|
(message "C import declaration")
|
|
)
|
|
)
|
|
)
|