Skip to content

Commit

Permalink
use ##uuid as the secret UUID binding
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Jan 8, 2018
1 parent 1a02d8e commit 4fe702e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ version_slug(uuid::UUID, sha1::SHA1) = joinpath(slug(uuid), slug(sha1))

## finding packages ##

const uuid_sym = Symbol("#uuid")
const uuid_sym = Symbol("##uuid")

const project_names = ["JuliaProject.toml", "Project.toml"]
const manifest_names = ["JuliaManifest.toml", "Manifest.toml"]
Expand Down
2 changes: 1 addition & 1 deletion src/toplevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jl_value_t *jl_eval_module_expr(jl_module_t *parent_module, jl_expr_t *ex)
jl_value_t *defaultdefs = NULL, *form = NULL;
JL_GC_PUSH4(&last_module, &defaultdefs, &form, &newm);
// copy parent environment info into submodule
jl_sym_t *uuid_sym = jl_symbol("#uuid");
jl_sym_t *uuid_sym = jl_symbol("##uuid");
jl_value_t *uuid = jl_get_global(parent_module, uuid_sym);
if (uuid && uuid != jl_nothing)
jl_set_const(newm, uuid_sym, uuid);
Expand Down

0 comments on commit 4fe702e

Please sign in to comment.