stanford-ppl / Green-Marl

A DSL for efficient Graph Analysis
Other
99 stars 36 forks source link

Node_Set::Clear() is not implemented #120

Open pozdneev opened 11 years ago

pozdneev commented 11 years ago

Compilation of file test.gm

Procedure test(G: Graph, s: Node_Set(G)) {
        s.Clear();
}

gives

test.gm:In procedure test:
test.gm:2: 43: error: Invalid built-in:Clear

File ./src/inc/gm_builtin.h does not have GM_BLTIN_SET_CLEAR item.

Thus, I conclude that Node_Set::Clear() is not implemented. But documentation says, that Node_Set::Clear() exists (4.5.1 Built-in Operations Collection Types).