github.com/neugram/ng@v0.0.0-20180309130942-d472ff93d872/eval/testdata/iface2_error.ng (about)

     1  import "io"
     2  
     3  w := io.Writer(nil)
     4  r := io.Reader(nil)
     5  w = r  // ERROR: cannot assign
     6  
     7  print("OK")