diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 19:04:01 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 19:04:01 +0100 |
| commit | cc0b46b2f8d1fa0fa3c888d08efb3e54f8ecfc6e (patch) | |
| tree | 4344d2a8f91682a064a6ccbc43e7db9fb65b64c0 /test/test_samples/test_struct.ncpp | |
| parent | 38e21d3cd9409d583c627fb9bd401db5dcbd6981 (diff) | |
chore: update and improve Nectar codegen.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/test_samples/test_struct.ncpp')
| -rw-r--r-- | test/test_samples/test_struct.ncpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_samples/test_struct.ncpp b/test/test_samples/test_struct.ncpp index 5006a01..c725b64 100644 --- a/test/test_samples/test_struct.ncpp +++ b/test/test_samples/test_struct.ncpp @@ -1,6 +1,6 @@ impl foo { - foo() + let init() { return; } @@ -14,7 +14,7 @@ impl foo let construct_foo() { let io := new; - io := foo(); + io := foo{}; return io; } |
