-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
For longer examples or when user pastes their own code and get and error or warning it would be helpful to be able to use the line number provided by the compiler.
For example from the first example on https://tour.gleam.run/basics/hello-world/:
import gleam/io
pub fn main() {
io.println(4)
}error: Type mismatch
┌─ /src/main.gleam:4:14
│
4 │ io.println(4)
│ ^
Expected type:
String
Found type:
Int
Metadata
Metadata
Assignees
Labels
No labels