16 lines
274 B
Plaintext
16 lines
274 B
Plaintext
# Automatically generated; edit in Sphinx source code, not here.
|
|
module Test;
|
|
|
|
type X = unit(s: string&) {
|
|
n: uint8 {
|
|
*s = "Hello, world!";
|
|
}
|
|
};
|
|
|
|
public type Y = unit {
|
|
x: X(self.s);
|
|
|
|
on %done { print self.s; }
|
|
|
|
var s: string& = new string;
|
|
}; |