aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/lend_unrestored.zc
Commit message (Collapse)AuthorAgeFilesLines
* analyzer: close the ownership gaps that stopped the compiler compiling itselfGravatar zinc 14 days1-0/+6
an owned local can now move into a released owner declared in the same or an outer block, and g = m*x lends a local owner to a global until the global is assigned again in the same block. leaving that block, giving the local away, or returning while the lend is open is an error. recasting a plain local now names it and says it has no ownership to recast. methdef and syntax_resident use the supported spellings, so make genome reaches its fixpoint from a clean checkout. runerr.sh reads the first // expect: line, since the include headers moved it off line 1.