diff --git a/language-server/src/main/kotlin/tools/samt/ls/Mapping.kt b/language-server/src/main/kotlin/tools/samt/ls/Mapping.kt index 710a3507..4de60438 100644 --- a/language-server/src/main/kotlin/tools/samt/ls/Mapping.kt +++ b/language-server/src/main/kotlin/tools/samt/ls/Mapping.kt @@ -28,6 +28,6 @@ fun DiagnosticMessage.toDiagnostic(): Diagnostic? { fun SamtLocation.toRange(): Range { return Range( Position(start.row, start.col), - Position(start.row, end.col) + Position(end.row, end.col) ) }