{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/15388","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/15388/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/15388/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/15388/events","html_url":"https://github.com/JuliaLang/julia/issues/15388","id":139086604,"number":15388,"title":"A function works under @debug but crashes without","user":{"login":"vepiteski","id":8175387,"avatar_url":"https://avatars.githubusercontent.com/u/8175387?v=3","gravatar_id":"","url":"https://api.github.com/users/vepiteski","html_url":"https://github.com/vepiteski","followers_url":"https://api.github.com/users/vepiteski/followers","following_url":"https://api.github.com/users/vepiteski/following{/other_user}","gists_url":"https://api.github.com/users/vepiteski/gists{/gist_id}","starred_url":"https://api.github.com/users/vepiteski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vepiteski/subscriptions","organizations_url":"https://api.github.com/users/vepiteski/orgs","repos_url":"https://api.github.com/users/vepiteski/repos","events_url":"https://api.github.com/users/vepiteski/events{/privacy}","received_events_url":"https://api.github.com/users/vepiteski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-07T20:35:50Z","updated_at":"2016-03-07T20:39:26Z","closed_at":null,"body":"The title says it all. The function is part of a larger project so submitting a 3 lines code to reproduce the issue is out of question.\r\n\r\nWithout debug: a parameter which should be of type A is dispatched to a function (expecting it to be of type A) as of type B. \r\n\r\n```\r\nERROR: LoadError: MethodError: `PreProcess` has no method matching PreProcess(::LinearOperators.LinearOperator, ::Array{Float64,1}, ::Int64, ::Int64, ::Int64)\r\n```\r\n\r\n`PreProcess` expects a `Array{Float64,2}`, NOT a `LinearOperators.LinearOperator`\r\n\r\nWith `@debug`, the parameter is indeed of class `A` and no error is triggered.\r\n\r\n- The parameter is indeed a `Array{Float64,2}`, so I cannot find any fault in my code.\r\n\r\n\r\nThx,\r\n\r\nJPD\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/193439896","html_url":"https://github.com/JuliaLang/julia/issues/15388#issuecomment-193439896","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/15388","id":193439896,"user":{"login":"yuyichao","id":712232,"avatar_url":"https://avatars.githubusercontent.com/u/712232?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyichao","html_url":"https://github.com/yuyichao","followers_url":"https://api.github.com/users/yuyichao/followers","following_url":"https://api.github.com/users/yuyichao/following{/other_user}","gists_url":"https://api.github.com/users/yuyichao/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyichao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyichao/subscriptions","organizations_url":"https://api.github.com/users/yuyichao/orgs","repos_url":"https://api.github.com/users/yuyichao/repos","events_url":"https://api.github.com/users/yuyichao/events{/privacy}","received_events_url":"https://api.github.com/users/yuyichao/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T20:39:26Z","updated_at":"2016-03-07T20:39:26Z","body":"Please quote your code, especially macros, or you'll be pulling random people into unrelated discussions (see my edit).\r\n\r\nThis is possibly a dispatch bug but without a piece of code to reproduce it (which doesn't have to be small but has to be complete) there's basically nothing we can do here.\r\n"}}