improvements to type checking of record updates

This commit is contained in:
2026-02-15 21:38:44 -08:00
parent 197e3525bf
commit 3201139523
4 changed files with 27 additions and 8 deletions

12
tests/NestedUpdate.newt Normal file
View File

@@ -0,0 +1,12 @@
module NestedUpdate
import Prelude
record Foo where
bar : Int
record Bar where
foo : Foo
blah : Bar Bar
blah x = [ foo $= [ bar := 1]] x