Index: test/fixedbugs/issue5614.dir/rethinkgo.go |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/test/fixedbugs/issue5614.dir/rethinkgo.go |
@@ -0,0 +1,16 @@ |
+package rethinkgo |
+ |
+type Session struct { |
+} |
+ |
+func (s *Session) Run(query Exp) *int { return nil } |
+ |
+type List []interface{} |
+ |
+type Exp struct { |
+ args []interface{} |
+} |
+ |
+func (e Exp) UseOutdated(useOutdated bool) Exp { |
+ return Exp{args: List{e, useOutdated}} |
+} |