Issue2918-Inlining.agda 294 B

12345678910111213141516171819202122
  1. {-# OPTIONS --no-main #-}
  2. postulate
  3. easy : (A : Set₁) → A
  4. record R₁ : Set₂ where
  5. field
  6. A : Set₁
  7. record R₂ : Set₂ where
  8. field
  9. r₁ : R₁
  10. a : R₁.A r₁
  11. r₁ : R₁
  12. r₁ .R₁.A = Set
  13. r₂ : R₂
  14. r₂ = λ where
  15. .R₂.r₁ → r₁
  16. .R₂.a → easy _