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

     1  // We should not support unpacking multiple function calls
     2  // without error elision, only the last one.
     3  func f(x, y, z int) { }
     4  func g() (int, int) { return 0, 0 }
     5  f(g(), 1) // ERROR: multi-valued g() used in single-valued context