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

"cannot convert type to julia type" #10281

Closed
mschauer opened this issue Feb 22, 2015 · 0 comments
Closed

"cannot convert type to julia type" #10281

mschauer opened this issue Feb 22, 2015 · 0 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior regression Regression in behavior compared to a previous version
Milestone

Comments

@mschauer
Copy link
Contributor

The following

const N = 1000
n = 20
if false
    for i in 1:N
        j = rand(1:n)
    end 
end

fails with

ERROR: LoadError: error compiling anonymous: cannot convert type to a julia type
 in include at ./boot.jl:249
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:319
 in _start at ./client.jl:403

I am on

Julia Version 0.4.0-dev+3388
Commit ab5c4cf* (2015-02-16 22:23 UTC)
Platform Info:
  System: Linux (i686-linux-gnu)
  CPU: Intel(R) Core(TM) Duo CPU      T2450  @ 2.00GHz
  WORD_SIZE: 32
  BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY Banias)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

Related to #9947 ?

@simonster simonster added bug Indicates an unexpected problem or unintended behavior regression Regression in behavior compared to a previous version labels Feb 22, 2015
@simonster simonster added this to the 0.4 milestone Feb 22, 2015
@JeffBezanson JeffBezanson self-assigned this Feb 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior regression Regression in behavior compared to a previous version
Projects
None yet
Development

No branches or pull requests

3 participants