From 71ae395fdd06aa1f1cc1b42c0d32299009c08e47 Mon Sep 17 00:00:00 2001 From: zoobestik <kb.chernenko@gmail.com> Date: Wed, 13 Dec 2023 22:44:22 +0100 Subject: [PATCH] tmp; report for 'unused variable' doesn't show. --- .../01_Hello world/0c66b958dea3212426eff8cba77117c6.2.json | 2 +- .../02_Loops/d82d6eb478f9c4341d59de8c4e61090f.1.json | 2 +- .../02_Loops/d82d6eb478f9c4341d59de8c4e61090f.2.json | 2 +- .../fbb154ad2b138de3a9928313fefc4627.1.json | 2 +- .../fbb154ad2b138de3a9928313fefc4627.2.json | 2 +- .../03_Variables/ff9d772244aab97db76d055793905ec6.1.json | 2 +- .../05_Classes/f1d108295a904bc5ef24bcce7e2576be.1.json | 2 +- .../05_also/0b62a9ba6177c616f0282d60bec8426d.1.json | 2 +- .../15_Map_getValue/0668c6345f7e295d628c170a5f3ca3c5.1.json | 2 +- .../basic-types/be5678589cf16c80d1cda9c85d9a55d9.3.json | 2 +- .../basic-types/be5678589cf16c80d1cda9c85d9a55d9.8.json | 2 +- .../booleans/12bb120f56ea8aee70a72c46b1a1383f.1.json | 2 +- .../control-flow/3561fc3486eea161ffc0744652612a39.1.json | 2 +- .../031518c7aec5e885fcd568637bb83d27.2.json | 2 +- .../031518c7aec5e885fcd568637bb83d27.3.json | 2 +- .../inline-functions/fc7a5fa8a62c8c6290a445186df0b788.1.json | 2 +- .../kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.1.json | 2 +- .../kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.6.json | 2 +- .../482d5a5110b4d39d7886e0944ba418d7.7.json | 2 +- .../d5ee9c1c75a7de6158e5acf95fbfde1a.2.json | 2 +- .../lambdas/0defd45187b18523801ceacc1244a9b2.2.json | 2 +- .../scope-functions/575de8eebf9a5bb80eb6420bf3317b77.14.json | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/01_Hello world/0c66b958dea3212426eff8cba77117c6.2.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/01_Hello world/0c66b958dea3212426eff8cba77117c6.2.json index 08b5cda4d..cd3519f87 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/01_Hello world/0c66b958dea3212426eff8cba77117c6.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/01_Hello world/0c66b958dea3212426eff8cba77117c6.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":9},"end":{"line":0,"ch":13}},"message":"Parameter 'args' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>Hello, World!\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>Hello, World!\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.1.json index 065342ce2..2999542f1 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":9},"end":{"line":0,"ch":13}},"message":"Parameter 'args' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>Yummy, it's a carrot cake!\nYummy, it's a cheese cake!\nYummy, it's a chocolate cake!\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>Yummy, it's a carrot cake!\nYummy, it's a cheese cake!\nYummy, it's a chocolate cake!\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.2.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.2.json index 02dba0419..a9133cd48 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/02_Loops/d82d6eb478f9c4341d59de8c4e61090f.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":3,"ch":9},"end":{"line":3,"ch":13}},"message":"Parameter 'args' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>Eat a Cake\nEat a Cake\nEat a Cake\nEat a Cake\nEat a Cake\nBake a Cake\nBake a Cake\nBake a Cake\nBake a Cake\nBake a Cake\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>Eat a Cake\nEat a Cake\nEat a Cake\nEat a Cake\nEat a Cake\nBake a Cake\nBake a Cake\nBake a Cake\nBake a Cake\nBake a Cake\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.1.json index b81d2abca..ee5b036b5 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":15},"end":{"line":0,"ch":19}},"message":"Parameter 'list' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":7,"ch":9},"end":{"line":7,"ch":10}},"message":"Variable 'x' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":7,"ch":12},"end":{"line":7,"ch":13}},"message":"Variable 'y' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":7,"ch":15},"end":{"line":7,"ch":16}},"message":"Variable 'z' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":14,"ch":9},"end":{"line":14,"ch":12}},"message":"Variable 'min' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":14,"ch":14},"end":{"line":14,"ch":17}},"message":"Variable 'max' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>Alice is 21 years old\nBob is 25 years old\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>Alice is 21 years old\nBob is 25 years old\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.2.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.2.json index 33be1a278..4e7afc326 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Destructuring Declarations/fbb154ad2b138de3a9928313fefc4627.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":6,"ch":19},"end":{"line":6,"ch":24}},"message":"Variable 'email' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":9,"ch":12},"end":{"line":9,"ch":24}},"message":"Variable 'emailAddress' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>true\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>true\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Variables/ff9d772244aab97db76d055793905ec6.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Variables/ff9d772244aab97db76d055793905ec6.1.json index 2a0e3c162..b7357bcec 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Variables/ff9d772244aab97db76d055793905ec6.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/03_Variables/ff9d772244aab97db76d055793905ec6.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":8},"end":{"line":4,"ch":9}},"message":"Variable 'b' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":5,"ch":8},"end":{"line":5,"ch":9}},"message":"Variable 'c' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>initial\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>initial\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_Classes/f1d108295a904bc5ef24bcce7e2576be.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_Classes/f1d108295a904bc5ef24bcce7e2576be.1.json index 1d42176dd..b76d84014 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_Classes/f1d108295a904bc5ef24bcce7e2576be.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_Classes/f1d108295a904bc5ef24bcce7e2576be.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":6,"ch":8},"end":{"line":6,"ch":16}},"message":"Variable 'customer' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>1\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>1\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_also/0b62a9ba6177c616f0282d60bec8426d.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_also/0b62a9ba6177c616f0282d60bec8426d.1.json index 1f2860578..528ce1ad2 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_also/0b62a9ba6177c616f0282d60bec8426d.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/05_also/0b62a9ba6177c616f0282d60bec8426d.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":10,"ch":8},"end":{"line":10,"ch":12}},"message":"Variable 'jake' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>A new person Jake was created.\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>A new person Jake was created.\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-by-example/15_Map_getValue/0668c6345f7e295d628c170a5f3ca3c5.1.json b/src/test/resources/test-compile-output/jvm/kotlin-by-example/15_Map_getValue/0668c6345f7e295d628c170a5f3ca3c5.1.json index d32a74d76..3e810291c 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-by-example/15_Map_getValue/0668c6345f7e295d628c170a5f3ca3c5.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-by-example/15_Map_getValue/0668c6345f7e295d628c170a5f3ca3c5.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":9},"end":{"line":0,"ch":13}},"message":"Parameter 'args' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>Message: java.util.NoSuchElementException: Key anotherKey is missing in the map.\nvalue1 is 42\nvalue2 is null\nvalue3 is 42\nvalue4 is 4\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>Message: java.util.NoSuchElementException: Key anotherKey is missing in the map.\nvalue1 is 42\nvalue2 is null\nvalue3 is 42\nvalue4 is 4\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.3.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.3.json index 091c2d1ce..b7ec7c496 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.3.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.3.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":8},"end":{"line":4,"ch":10}},"message":"Variable 'i1' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":""} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":""} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.8.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.8.json index 5e1ef5d66..0f3fc0427 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.8.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/basic-types/be5678589cf16c80d1cda9c85d9a55d9.8.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":8},"end":{"line":4,"ch":16}},"message":"Variable 'boolNull' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>true\nfalse\nfalse\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>true\nfalse\nfalse\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/booleans/12bb120f56ea8aee70a72c46b1a1383f.1.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/booleans/12bb120f56ea8aee70a72c46b1a1383f.1.json index 5e1ef5d66..0f3fc0427 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/booleans/12bb120f56ea8aee70a72c46b1a1383f.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/booleans/12bb120f56ea8aee70a72c46b1a1383f.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":8},"end":{"line":4,"ch":16}},"message":"Variable 'boolNull' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>true\nfalse\nfalse\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>true\nfalse\nfalse\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/control-flow/3561fc3486eea161ffc0744652612a39.1.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/control-flow/3561fc3486eea161ffc0744652612a39.1.json index 7d50f78c7..6c7a05055 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/control-flow/3561fc3486eea161ffc0744652612a39.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/control-flow/3561fc3486eea161ffc0744652612a39.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":5,"ch":14},"end":{"line":5,"ch":15}},"message":"Variable 'max' initializer is redundant","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":6,"ch":15},"end":{"line":6,"ch":20}},"message":"The value 'b' assigned to 'var max: Int defined in main' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":10,"ch":6},"end":{"line":10,"ch":11}},"message":"The value 'a' assigned to 'var max: Int defined in main' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":12,"ch":6},"end":{"line":12,"ch":11}},"message":"The value 'b' assigned to 'var max: Int defined in main' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>max is 3\nmaxOrLimit is 3\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>max is 3\nmaxOrLimit is 3\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.2.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.2.json index 68a824676..7773a1293 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":8},"end":{"line":4,"ch":12}},"message":"Parameter 'prop' is never used, could be renamed to _","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream><no name> -> first\nfirst -> second\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream><no name> -> first\nfirst -> second\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.3.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.3.json index 4bf21c68d..743b77e1d 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.3.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/delegated-properties/031518c7aec5e885fcd568637bb83d27.3.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":9,"ch":11},"end":{"line":9,"ch":18}},"message":"'oldName: Int' is deprecated. Use 'newName' instead","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>42\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>42\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/inline-functions/fc7a5fa8a62c8c6290a445186df0b788.1.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/inline-functions/fc7a5fa8a62c8c6290a445186df0b788.1.json index 71dca7a6f..e409d7746 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/inline-functions/fc7a5fa8a62c8c6290a445186df0b788.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/inline-functions/fc7a5fa8a62c8c6290a445186df0b788.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":19},"end":{"line":0,"ch":24}},"message":"Parameter 'block' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>hi!\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>hi!\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.1.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.1.json index e7a77a874..b7ec7c496 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.1.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.1.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":3,"ch":8},"end":{"line":3,"ch":15}},"message":"Variable 'contact' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":""} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":""} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.6.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.6.json index 16810ed8c..d96547240 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.6.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-classes/b2cc9056dc2664e75d7ed15b75d065e9.6.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":5,"ch":8},"end":{"line":5,"ch":18}},"message":"Variable 'secondUser' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":6,"ch":8},"end":{"line":6,"ch":17}},"message":"Variable 'thirdUser' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>User(name=Alex, id=1)\nUser(name=Max, id=1)\nUser(name=Alex, id=3)\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>User(name=Alex, id=1)\nUser(name=Max, id=1)\nUser(name=Alex, id=3)\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-collections/482d5a5110b4d39d7886e0944ba418d7.7.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-collections/482d5a5110b4d39d7886e0944ba418d7.7.json index 9af6e27d9..d139ea082 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-collections/482d5a5110b4d39d7886e0944ba418d7.7.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-collections/482d5a5110b4d39d7886e0944ba418d7.7.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":5,"ch":8},"end":{"line":5,"ch":13}},"message":"Variable 'fruit' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>[apple, banana, cherry]\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>[apple, banana, cherry]\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-hello-world/d5ee9c1c75a7de6158e5acf95fbfde1a.2.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-hello-world/d5ee9c1c75a7de6158e5acf95fbfde1a.2.json index 69b3ad8da..53e9b1742 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-hello-world/d5ee9c1c75a7de6158e5acf95fbfde1a.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/kotlin-tour-hello-world/d5ee9c1c75a7de6158e5acf95fbfde1a.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":2,"ch":8},"end":{"line":2,"ch":15}},"message":"Variable 'popcorn' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":3,"ch":8},"end":{"line":3,"ch":14}},"message":"Variable 'hotdog' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":4,"ch":20},"end":{"line":4,"ch":22}},"message":"Variable 'customers' initializer is redundant","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>8\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[{"interval":{"start":{"line":4,"ch":20},"end":{"line":4,"ch":22}},"message":"Variable 'customers' initializer is redundant","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>8\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/lambdas/0defd45187b18523801ceacc1244a9b2.2.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/lambdas/0defd45187b18523801ceacc1244a9b2.2.json index 0dd2a41f8..a7a8db7d8 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/lambdas/0defd45187b18523801ceacc1244a9b2.2.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/lambdas/0defd45187b18523801ceacc1244a9b2.2.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":3,"ch":8},"end":{"line":3,"ch":21}},"message":"Variable 'twoParameters' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>result = hellohellohello\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>result = hellohellohello\n</outStream>"} \ No newline at end of file diff --git a/src/test/resources/test-compile-output/jvm/kotlin-web-site/scope-functions/575de8eebf9a5bb80eb6420bf3317b77.14.json b/src/test/resources/test-compile-output/jvm/kotlin-web-site/scope-functions/575de8eebf9a5bb80eb6420bf3317b77.14.json index 21e205767..9e6f4716d 100644 --- a/src/test/resources/test-compile-output/jvm/kotlin-web-site/scope-functions/575de8eebf9a5bb80eb6420bf3317b77.14.json +++ b/src/test/resources/test-compile-output/jvm/kotlin-web-site/scope-functions/575de8eebf9a5bb80eb6420bf3317b77.14.json @@ -1 +1 @@ -{"errors":{"File.kt":[{"interval":{"start":{"line":0,"ch":25},"end":{"line":0,"ch":28}},"message":"Parameter 'str' is never used","severity":"WARNING","className":"WARNING"},{"interval":{"start":{"line":6,"ch":8},"end":{"line":6,"ch":14}},"message":"Variable 'length' is never used","severity":"WARNING","className":"WARNING"}]},"exception":null,"text":"<outStream>let() called on Hello\n</outStream>"} \ No newline at end of file +{"errors":{"File.kt":[]},"exception":null,"text":"<outStream>let() called on Hello\n</outStream>"} \ No newline at end of file