`when`(open, `trait`)