Fork of daniellemaywood.uk/gleam — Wasm codegen work
520 B
12 lines
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: 2024 The Gleam contributors
3
4// This module is named "code".
5//
6// If you were to compile this and load it into the Erlang virtual machine it
7// would replace the built-in "code" module. That would be _bad_. You'd get
8// super cryptic error messages and likely not know what is happening. This did
9// happen fairly often with new folks, so now the build tool ensures you don't
10// use one of these Erlang names.
11//
12// This test case ensures this is true.