зеркало из https://github.com/microsoft/ivy.git
14 строки
141 B
Plaintext
14 строки
141 B
Plaintext
|
#lang ivy1.7
|
||
|
|
||
|
type t
|
||
|
|
||
|
object foo(self:t) = {
|
||
|
var x : bool
|
||
|
after init {
|
||
|
x := false
|
||
|
}
|
||
|
}
|
||
|
|
||
|
isolate iso(self:t) = foo(self)
|
||
|
|