-
-
Notifications
You must be signed in to change notification settings - Fork 8
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello,
First, thanks for your work!
The plugins seems to have trouble handling generics with "<" and ">" in error messages.
See, this code:
fun map(): Map<String, String> {
// compilation problem
return listOf(
"whatever" to "thanks for the plugin",
)
}
Triggers this error :
Type mismatch.
Required: Map<String, String>
Found: List<Pair<String, String>>
But InlineProblems only show partial bugged types: "inferred type is List> but Map was expected"
For this one, I expected the InlineProblems to show inferred type is List<Pair<String, String>> but Map<String, String> was expected
This is a simple exemple but I have more complex types in production like ImmutableMap<Something<Foo>, Pair<Bar, Bar>> where Inline problems are totally unreadable.
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working