dol 0.8.1

DOL (Design Ontology Language) - A declarative specification language for ontology-first development
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Test: Nested module path resolution
// File: tests/spirits/modules/nested_path.dol
// Expected module path: spirits.modules.nested_path

pub gene NestedType {
    has value: Int64

    pub fun new(v: Int64) -> NestedType {
        return NestedType { value: v }
    }
}

exegesis {
    Test case for nested module path resolution.
    Directory separators become dots in the module path.
    File extension is stripped.
}