amuletml / amulet

An ML-like functional programming language
https://amulet.works/
BSD 3-Clause "New" or "Revised" License
326 stars 15 forks source link

Nested module open results in wrong order #231

Closed Lupus closed 4 years ago

Lupus commented 4 years ago
test.ml[5:11 ..5:102]: error (E1001)
  Module not in scope: `Raw.Json`

  Arising from use of the expression
  │ 
5 │   let v = Json.Raw.(decode "[1, 2, 3, true, null, \"foo\", {\"baz\": null, \"bar\": 123}]" |> to_json)
  │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reverse of list is missing somewhere? :)