Skip to content

examples/juliatypes.jl errors #25183

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

Closed
mauro3 opened this issue Dec 19, 2017 · 1 comment
Closed

examples/juliatypes.jl errors #25183

mauro3 opened this issue Dec 19, 2017 · 1 comment

Comments

@mauro3
Copy link
Contributor

mauro3 commented Dec 19, 2017

The example examples/juliatypes.jl does not work anymore:

$ julia examples/juliatypes.jl                                                                                                
ERROR: LoadError: type UnionAll has no field name                                                                                                                        
Stacktrace:                                                                                                                                                              
 [1] top-level scope                                                                                                                                                     
 [2] include at ./boot.jl:283 [inlined]                                                                                                                                  
 [3] include_relative(::Module, ::String) at ./loading.jl:503                                                                                                            
 [4] include(::Module, ::String) at ./sysimg.jl:15                                                                                                                       
 [5] process_options(::Base.JLOptions) at ./client.jl:322                                                                                                                
 [6] _start() at ./client.jl:373                                                                                                                                         
in expression starting at examples/juliatypes.jl:494   

This was used to prototype the type system #8974, maybe it can be deleted now?

@StefanKarpinski
Copy link
Member

That does seem to be the simplest fix.

mauro3 added a commit to mauro3/julia that referenced this issue Jan 17, 2018
JeffBezanson pushed a commit that referenced this issue Jan 17, 2018
Fixes #25183

[ci skip]
[av skip]
[bsd skip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants