The prelude's own (vec-new Form) was refused with "nothing here says what (vec-new) is a Vec of" -- a message about a missing annotation, to a program that had written one. The build went red the moment the Form declaration was checked against anything, which is why the front half landed unmeasured. The test a leading bare symbol has to pass was spelled out twice, once in vec_new_elem and once in map_new_types, and both lists were written before unions existed: primitives, structs, enums, aliases. resolve_name has known about unions since they landed, so the two halves disagreed about what a type name is. Now there is one list, read by both, so the next kind of type cannot be added to one of them. The case is in unions.flan rather than in a file of its own, because what it asserts is that a union is an element type like any other -- (vec-new Shape), (map-new string Shape) -- and that is a sentence about unions. Also drops forms.so, a build artefact the last lane committed.
72 lines
1.4 KiB
Plaintext
72 lines
1.4 KiB
Plaintext
*.annot
|
|
*.cmo
|
|
*.cma
|
|
*.cmi
|
|
*.a
|
|
*.o
|
|
*.cmx
|
|
*.cmxs
|
|
*.cmxa
|
|
|
|
# ocamlbuild working directory
|
|
_build/
|
|
|
|
# ocamlbuild targets
|
|
*.byte
|
|
*.native
|
|
|
|
# oasis generated files
|
|
setup.data
|
|
setup.log
|
|
|
|
# Merlin configuring file for Vim and Emacs
|
|
.merlin
|
|
|
|
# Dune generated files
|
|
*.install
|
|
|
|
# Local OPAM switch
|
|
_opam/
|
|
|
|
# VSCode settings folder
|
|
.vscode
|
|
|
|
# Emitted LLVM IR, from `flan emit` or a kept build
|
|
*.ll
|
|
|
|
# The pre-rewrite menhir/ocamllex frontend: reference only, excluded from the
|
|
# build by the root dune file. Its contents are in git history at 2c232dd.
|
|
old-ocaml/
|
|
|
|
# Built executables from `flan build`
|
|
/calc-me
|
|
/sand
|
|
/conditions-play
|
|
|
|
# What `flan build --target=web` drops beside a source file. Anchored like the
|
|
# native executables above, and three patterns rather than one glob because the
|
|
# page, its loader and the module are three files with three extensions the
|
|
# repo otherwise has legitimate uses for.
|
|
/sand.html
|
|
/sand.js
|
|
/sand.wasm
|
|
.claude/
|
|
probe
|
|
probe.c
|
|
|
|
# raylib built for the browser: a 1.6MB archive and the pinned checkout it
|
|
# came from. vendor/raylib/build-web.sh makes both, and the path is named to a
|
|
# build through FLAN_RAYLIB_WEB, not committed.
|
|
vendor/raylib/web/
|
|
|
|
# What programs/slurp.flan and programs/web-files.flan write when run by hand
|
|
# from the source tree rather than out of _build.
|
|
test/slurp-out.txt
|
|
test/slurp-made.txt
|
|
test/web-files-out.txt
|
|
|
|
# Python bytecode from the tools directory
|
|
__pycache__/
|
|
*.pyc
|
|
/forms.so
|