Home | History | Annotate | Download | only in issue5614.dir
      1 package rethinkgo
      2 
      3 type Session struct {
      4 }
      5 
      6 func (s *Session) Run(query Exp) *int { return nil }
      7 
      8 type List []interface{}
      9 
     10 type Exp struct {
     11 	args []interface{}
     12 }
     13 
     14 func (e Exp) UseOutdated(useOutdated bool) Exp {
     15 	return Exp{args: List{e, useOutdated}}
     16 }
     17