Files
kotlin-fork/compiler/testData/repl/objects/localObject.repl
T
Alexander Udalov 54dfd626ab CLI: improve diagnostic message format
- render the whole line where the error/warning points to, if any, and another
  line with '^', like other compilers do
- lowercase diagnostic severity
- decapitalize the message if it doesn't start with a proper name
2015-06-15 15:42:41 +03:00

8 lines
178 B
Plaintext
Vendored

>>> fun foo() {
... object Bar {
... }
... }
/line4.kts:2:1: error: named object 'Bar' is a singleton and cannot be local. Try to use anonymous object instead
object Bar {
^