Skip to content

Commit

Permalink
Merge pull request rebol#114 (BrianHawley/fix-1998-private-module-pre…
Browse files Browse the repository at this point in the history
…cedence) into community

* BrianHawley/fix-1998-private-module-precedence:
  Private module imports take precedence
  • Loading branch information
earl committed Jun 8, 2013
2 parents 7534d27 + b0c01f0 commit 9961f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mezz/sys-base.r
Expand Up @@ -167,16 +167,16 @@ make-module*: func [
; All words of the module body are module variables:
bind/new body obj
; The module keeps its own variables (not shared with system):
if object? mixins [resolve obj mixins]
;resolve obj sys -- no longer done -Carl
resolve obj lib
if object? mixins [resolve obj mixins]
][
; Only top level defined words are module variables.
bind/only/set body obj
; The module shares system exported variables:
if object? mixins [bind body mixins]
bind body lib
;bind body sys -- no longer done -Carl
if object? mixins [bind body mixins]
]

bind body obj
Expand Down

0 comments on commit 9961f25

Please sign in to comment.