{"action":"opened","issue":{"url":"https://api.github.com/repos/symengine/SymEngine.jl/issues/146","repository_url":"https://api.github.com/repos/symengine/SymEngine.jl","labels_url":"https://api.github.com/repos/symengine/SymEngine.jl/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/symengine/SymEngine.jl/issues/146/comments","events_url":"https://api.github.com/repos/symengine/SymEngine.jl/issues/146/events","html_url":"https://github.com/symengine/SymEngine.jl/issues/146","id":371592237,"node_id":"MDU6SXNzdWUzNzE1OTIyMzc=","number":146,"title":"Method ambiguity for  promote_rule(Type{Boo},::Type{Basic})","user":{"login":"favba","id":17421145,"node_id":"MDQ6VXNlcjE3NDIxMTQ1","avatar_url":"https://avatars0.githubusercontent.com/u/17421145?v=4","gravatar_id":"","url":"https://api.github.com/users/favba","html_url":"https://github.com/favba","followers_url":"https://api.github.com/users/favba/followers","following_url":"https://api.github.com/users/favba/following{/other_user}","gists_url":"https://api.github.com/users/favba/gists{/gist_id}","starred_url":"https://api.github.com/users/favba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/favba/subscriptions","organizations_url":"https://api.github.com/users/favba/orgs","repos_url":"https://api.github.com/users/favba/repos","events_url":"https://api.github.com/users/favba/events{/privacy}","received_events_url":"https://api.github.com/users/favba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T15:39:55Z","updated_at":"2018-10-18T15:39:55Z","closed_at":null,"author_association":"NONE","body":"Using SymEngine v0.4.3\r\n\r\n```julia\r\njulia> versioninfo()\r\nJulia Version 1.0.1\r\nCommit 0d713926f8 (2018-09-29 19:05 UTC)\r\nPlatform Info:\r\n  OS: macOS (x86_64-apple-darwin14.5.0)\r\n  CPU: Intel(R) Core(TM) i5-5287U CPU @ 2.90GHz\r\n  WORD_SIZE: 64\r\n  LIBM: libopenlibm\r\n  LLVM: libLLVM-6.0.0 (ORCJIT, broadwell)\r\nEnvironment:\r\n  JULIA_NUM_THREADS = 2\r\n\r\njulia> @vars a\r\n(a,)\r\n\r\njulia> a + true\r\nERROR: MethodError: promote_rule(::Type{Bool}, ::Type{Basic}) is ambiguous. Candidates:\r\n  promote_rule(::Type{S}, ::Type{Basic}) where S<:Number in SymEngine at /Users/felipeavba/.julia/packages/SymEngine/sh7Yz/src/types.jl:97\r\n  promote_rule(::Type{Bool}, ::Type{T}) where T<:Number in Base at bool.jl:4\r\nPossible fix, define\r\n  promote_rule(::Type{Bool}, ::Type{Basic})\r\nStacktrace:\r\n [1] promote_type at ./promotion.jl:221 [inlined]\r\n [2] _promote at ./promotion.jl:260 [inlined]\r\n [3] promote at ./promotion.jl:284 [inlined]\r\n [4] +(::Basic, ::Bool) at ./promotion.jl:313\r\n [5] top-level scope at none:0\r\n```\r\n"}}
{"actor":{"display_login":"favba"}}