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

     1  import "io"
     2  
     3  func isSectionReader(w io.Writer) bool {
     4  	_, ok := w.(*io.SectionReader) // ERROR: does not implement interface
     5  	return ok
     6  }