{"action":"created","issue":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1717","repository_url":"https://api.github.com/repos/JetBrains/kotlin-native","labels_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1717/labels{/name}","comments_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1717/comments","events_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1717/events","html_url":"https://github.com/JetBrains/kotlin-native/issues/1717","id":335210873,"node_id":"MDU6SXNzdWUzMzUyMTA4NzM=","number":1717,"title":"Const type serialization not implemented yet: CONST Char type=kotlin.Char value=","user":{"login":"soywiz","id":570848,"node_id":"MDQ6VXNlcjU3MDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/570848?v=4","gravatar_id":"","url":"https://api.github.com/users/soywiz","html_url":"https://github.com/soywiz","followers_url":"https://api.github.com/users/soywiz/followers","following_url":"https://api.github.com/users/soywiz/following{/other_user}","gists_url":"https://api.github.com/users/soywiz/gists{/gist_id}","starred_url":"https://api.github.com/users/soywiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soywiz/subscriptions","organizations_url":"https://api.github.com/users/soywiz/orgs","repos_url":"https://api.github.com/users/soywiz/repos","events_url":"https://api.github.com/users/soywiz/events{/privacy}","received_events_url":"https://api.github.com/users/soywiz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-24T20:56:33Z","updated_at":"2018-06-25T05:47:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nexception: kotlin.NotImplementedError: An operation is not implemented: Const type serialization not implemented yet: CONST Char type=kotlin.Char value=\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeConst(SerializeIr.kt:240)\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeExpression(SerializeIr.kt:495)\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeIrFunction(SerializeIr.kt:560)\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeDeclaration(SerializeIr.kt:650)\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.encodeDeclaration(SerializeIr.kt:695)\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeInlineBody(SerializeIr.kt:77)\r\n\r\n```\r\n\r\nFrom: https://github.com/korlibs/korlibs/blob/a9fd6f865dd7f6274a654a3d78659d6c5fda058f/kds/kds/common/src/com/soywiz/kds/Array2.kt#L20\r\n\r\n```\r\ninline operator fun <reified T> invoke(\r\n\t\t\tmap: String,\r\n\t\t\t//marginChar: Char = '\\u0000', // <---- produces the problem\r\n\t\t\tmarginChar: Char = 0.toChar(), // <---- workaround\r\n\t\t\tgen: (char: Char, x: Int, y: Int) -> T\r\n\t\t): Array2<T> {\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/comments/399838645","html_url":"https://github.com/JetBrains/kotlin-native/issues/1717#issuecomment-399838645","issue_url":"https://api.github.com/repos/JetBrains/kotlin-native/issues/1717","id":399838645,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTgzODY0NQ==","user":{"login":"soywiz","id":570848,"node_id":"MDQ6VXNlcjU3MDg0OA==","avatar_url":"https://avatars2.githubusercontent.com/u/570848?v=4","gravatar_id":"","url":"https://api.github.com/users/soywiz","html_url":"https://github.com/soywiz","followers_url":"https://api.github.com/users/soywiz/followers","following_url":"https://api.github.com/users/soywiz/following{/other_user}","gists_url":"https://api.github.com/users/soywiz/gists{/gist_id}","starred_url":"https://api.github.com/users/soywiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soywiz/subscriptions","organizations_url":"https://api.github.com/users/soywiz/orgs","repos_url":"https://api.github.com/users/soywiz/repos","events_url":"https://api.github.com/users/soywiz/events{/privacy}","received_events_url":"https://api.github.com/users/soywiz/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T05:47:37Z","updated_at":"2018-06-25T05:47:37Z","author_association":"CONTRIBUTOR","body":"Sorry: Reproduced in `0.8-dev-2494 ` too. It seems that something was cached, but building from a clean state reproduces the issue:\r\n\r\n```\r\n * Source files: Array2.kt, BitSet.kt, CacheMap.kt, CircularList.kt, Computed.kt, DoubleArrayList.kt, DoubleCircularList.kt, DoubleLinkedList.kt, DoubleQueue.kt, DoubleStack.kt, Extra.kt, FastIntMap.kt, IntArrayList.kt, IntCircularList.kt, IntExt.kt, IntFloatMap.kt, IntIntMap.kt, IntLinkedList.kt, IntMap.kt, IntQueue.kt, IntSet.kt, IntStack.kt, LinkedList.kt, ListExt.kt, ListReader.kt, MapExt.kt, MapList.kt, MemTools.kt, MutableListExt.kt, Pool.kt, PriorityQueue.kt, Queue.kt, Stack.kt, WeakMap.kt, WeakProperty.kt, binarySearch.kt, ds.kt, mapWhile.kt, FastIntMapNative.kt, WeakMapNative.kt\r\n * Compiler version info: Konan: 0.8-dev-2494 / Kotlin: 1.2.60\r\n * Output kind: LIBRARY\r\n\r\nexception: kotlin.NotImplementedError: An operation is not implemented: Const type serialization not implemented yet: CONST Char type=kotlin.Char value=\r\n        at org.jetbrains.kotlin.backend.konan.serialization.IrSerializer.serializeConst(SerializeIr.kt:240)\r\n```"}}
{"actor":{"display_login":"soywiz"}}