you are viewing a single comment's thread
view the rest of the comments
[–] 52 points 3 years ago (2 children)
error: unknown start of token: \u{37e}
 --> src/main.rs:2:30
  |
2 |     println!("Hello, world!");
  |                              ^
  |
help: Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
  |
2 |     println!("Hello, world!");
  |                              ~

error: could not compile `playground` (bin "playground") due to previous error
  • source
  • hideshow 4 child comments
  • [–] 20 points 3 years ago (1 child)

    That’s a well designed compiler.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 3 years ago* (1 child)

    I would rather see it just added to the standard definition as a valid character, so the compilation passes without issues. It would make lives of Greek programmers a little bit easier!

    But on a second though, it would probably make the lives of compiler programmers a living hell. Having to deal with two symbols for one thing sounds really annoying :D

  • source
  • parent
  • hideshow 2 child comments