On Sat, Apr 21, 2018 at 3:30 PM <b97...@gmail.com> wrote:

How do you propose to formulate the exception to the existing rules?

Note that this is essentially the same "problem":
https://play.golang.org/p/vMc8hyQrigq

        package main

        import (
         "fmt"
        )

        func main() {
        var i interface{} = 42
         switch i {
        case 42:
         fmt.Println("yes")
         case "foo":
         fmt.Println("no")
         }
        }

Do you want the above program to still work with the proposal or not?

-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to