Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message regression "type Module has no field val" #13021

Closed
ssfrr opened this issue Sep 8, 2015 · 1 comment · Fixed by #34804
Closed

Error message regression "type Module has no field val" #13021

ssfrr opened this issue Sep 8, 2015 · 1 comment · Fixed by #34804
Labels
error handling Handling of exceptions by Julia or the user good first issue Indicates a good issue for first-time contributors to Julia regression Regression in behavior compared to a previous version

Comments

@ssfrr
Copy link
Contributor

ssfrr commented Sep 8, 2015

julia> module M1
       val = 42
       end
M1

julia> M1.val
42

julia> M1.val = 43
ERROR: type Module has no field val

The above is with a recent master build (fcb38c1). With 0.3.11 the error is ERROR: cannot assign variables in other modules, which seems more clear.

@JeffBezanson JeffBezanson added regression Regression in behavior compared to a previous version error handling Handling of exceptions by Julia or the user labels Sep 8, 2015
@vtjnash vtjnash added the good first issue Indicates a good issue for first-time contributors to Julia label Sep 9, 2015
JeffBezanson added a commit that referenced this issue Sep 11, 2015
@tkelman
Copy link
Contributor

tkelman commented Sep 13, 2015

backported in #13072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
error handling Handling of exceptions by Julia or the user good first issue Indicates a good issue for first-time contributors to Julia regression Regression in behavior compared to a previous version
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants