{"action":"reopened","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/6253","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6253/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6253/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/6253/events","html_url":"https://github.com/crystal-lang/crystal/issues/6253","id":335177105,"node_id":"MDU6SXNzdWUzMzUxNzcxMDU=","number":6253,"title":"ICE: Module validation failed","user":{"login":"Sija","id":988,"node_id":"MDQ6VXNlcjk4OA==","avatar_url":"https://avatars3.githubusercontent.com/u/988?v=4","gravatar_id":"","url":"https://api.github.com/users/Sija","html_url":"https://github.com/Sija","followers_url":"https://api.github.com/users/Sija/followers","following_url":"https://api.github.com/users/Sija/following{/other_user}","gists_url":"https://api.github.com/users/Sija/gists{/gist_id}","starred_url":"https://api.github.com/users/Sija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sija/subscriptions","organizations_url":"https://api.github.com/users/Sija/orgs","repos_url":"https://api.github.com/users/Sija/repos","events_url":"https://api.github.com/users/Sija/events{/privacy}","received_events_url":"https://api.github.com/users/Sija/received_events","type":"User","site_admin":false},"labels":[{"id":20487867,"node_id":"MDU6TGFiZWwyMDQ4Nzg2Nw==","url":"https://api.github.com/repos/crystal-lang/crystal/labels/kind:bug","name":"kind:bug","color":"fc2929","default":false},{"id":253019637,"node_id":"MDU6TGFiZWwyNTMwMTk2Mzc=","url":"https://api.github.com/repos/crystal-lang/crystal/labels/topic:compiler","name":"topic:compiler","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-06-24T12:54:14Z","updated_at":"2018-08-07T10:47:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nModule validation failed: Function return type does not match operand type of return inst!\r\n  ret %\"(Array(AnyHash::JSONTypes::Value) | Bool | Float32 | Float64 | Hash(String | Symbol, AnyHash::JSONTypes::Value)+ | Int128 | Int16 | Int32 | Int64 | Int8 | JSON::Any | Set(AnyHash::JSONTypes::Value) | String | Symbol | Time | UInt128 | UInt16 | UInt32 | UInt64 | UInt8 | Nil)\" %1, !dbg !21\r\n %\"(Array(AnyHash::JSONTypes::Value) | Bool | Float32 | Float64 | Hash(String | Symbol, AnyHash::JSONTypes::Value) | Int128 | Int16 | Int32 | Int64 | Int8 | JSON::Any | Set(AnyHash::JSONTypes::Value) | String | Symbol | Time | UInt128 | UInt16 | UInt32 | UInt64 | UInt8 | Nil)\" = type { i32, [3 x i64] }\r\nCrystal::CodeGenVisitor#finish:Nil\r\nCrystal::Compiler#codegen<Crystal::Program, Crystal::ASTNode+, Array(Crystal::Compiler::Source), String>:(Tuple(Array(Crystal::Compiler::CompilationUnit), Array(String)) | Nil)\r\nCrystal::Compiler#compile<Array(Crystal::Compiler::Source), String>:Crystal::Compiler::Result\r\nCrystal::Command#run:(Bool | Crystal::Compiler::Result | Nil)\r\nmain\r\n\r\nError: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues\r\n```\r\n\r\nI have a hard time isolating the code responsible for the issue.\r\nHappens with Amber 0.8 + raven.cr (`develop` branch) on macOS."}}
{"actor":{"display_login":"RX14"}}