Repository navigation
an empty target is an empty string - #4583
Conversation
|
/cc @dcoutts |
|
Looks OK to me, by the way. |
23Skidoo
left a comment
There was a problem hiding this comment.
So I looked at all use sites of showTargetSelector and it looks like it is only used in error messages. So the change seems to be safe to apply; however, from looking at the TargetSelector definition I don't understand in which cases we can get an empty list here.
|
Anyhoozle, I think I'm going to merge this. |
|
I'm generally down on using empty strings as a sigil. Does turning the return type into Maybe cause lots of knock on changes? |
|
I don't think using |
|
+1, it's called show TargetSelector after all.
(On the other hand with Maybe we could do |
|
OK, I trust your judgment :) |
without this
cabal new-runwithout targets errors with an irrefutable pattern