{"action":"created","issue":{"url":"https://api.github.com/repos/okuoku/yuni/issues/33","repository_url":"https://api.github.com/repos/okuoku/yuni","labels_url":"https://api.github.com/repos/okuoku/yuni/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/okuoku/yuni/issues/33/comments","events_url":"https://api.github.com/repos/okuoku/yuni/issues/33/events","html_url":"https://github.com/okuoku/yuni/issues/33","id":132849314,"number":33,"title":"Kawa: Cannot compile values on branches","user":{"login":"okuoku","id":100813,"avatar_url":"https://avatars.githubusercontent.com/u/100813?v=3","gravatar_id":"","url":"https://api.github.com/users/okuoku","html_url":"https://github.com/okuoku","followers_url":"https://api.github.com/users/okuoku/followers","following_url":"https://api.github.com/users/okuoku/following{/other_user}","gists_url":"https://api.github.com/users/okuoku/gists{/gist_id}","starred_url":"https://api.github.com/users/okuoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okuoku/subscriptions","organizations_url":"https://api.github.com/users/okuoku/orgs","repos_url":"https://api.github.com/users/okuoku/repos","events_url":"https://api.github.com/users/okuoku/events{/privacy}","received_events_url":"https://api.github.com/users/okuoku/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/okuoku/yuni/labels/Extern-WARTrack","name":"Extern-WARTrack","color":"bfe5bf"},{"url":"https://api.github.com/repos/okuoku/yuni/labels/Port-Kawa","name":"Port-Kawa","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-10T23:35:02Z","updated_at":"2016-02-12T17:21:41Z","closed_at":"2016-02-12T17:21:41Z","body":"```scheme\r\n(import (scheme base))\r\n\r\n(define (ssplit-byte-class b)\r\n  (cond ((= 20 b) 'SPACE)\r\n        (else #f)))\r\n\r\n(define (ssplit-parse-byte0-ORIG byte)\r\n  (define (others cls)\r\n    (values 'OTHERS #f))\r\n  (let ((cls (ssplit-byte-class byte)))\r\n   (case cls\r\n     ((NONE) (values 'NONE #f))\r\n     (else (others cls)))))\r\n\r\n(define (ssplit-parse-byte0 byte)\r\n  (define (others cls)\r\n    (values 'OTHERS #f))\r\n  (let ((cls (ssplit-byte-class byte)))\r\n   (case cls\r\n     ((NONE) (values 'NONE #f))\r\n     (else (values 'OTHERS cls)))))\r\n\r\n(ssplit-parse-byte0 0)\r\n```\r\n\r\n`ssplit-parse-byte0` compiles well but `ssplit-parse-byte0-ORIG` fails as:\r\n\r\n```\r\nException in thread \"main\" java.lang.VerifyError: Bad return type\r\nException Details:\r\n  Location:\r\n    atInteractiveLevel-9.ssplitParseByte0ORIG(Ljava/lang/Object;)Lgnu/mapping/Values; @81: areturn\r\n  Reason:\r\n    Type 'java/lang/Object' (current frame, stack[0]) is not assignable to 'gnu/mapping/Values' (from method signature)\r\n  Current Frame:\r\n    bci: @81\r\n    flags: { }\r\n    locals: { 'java/lang/Object', 'java/lang/Object' }\r\n    stack: { 'java/lang/Object' }\r\n  Bytecode:\r\n    0x0000000: b200 102a b600 164c 2bb6 001a 123b a000\r\n    0x0000010: 2da7 0003 2bb2 001e b800 2499 0020 05bd\r\n    0x0000020: 000a 5903 b200 1e53 5904 b200 2853 b800\r\n    0x0000030: 2eb2 0032 5fb6 0037 a700 1905 bd00 0a59\r\n    0x0000040: 03b2 003a 5359 04b2 0028 53b8 002e a700\r\n    0x0000050: 03b0\r\n  Stackmap Table:\r\n    full_frame(@12,{Object[#10],Object[#10]},{Integer})\r\n    same_frame(@20)\r\n    same_frame(@59)\r\n    same_locals_1_stack_item_frame(@81,Object[#10])\r\n\r\n        at java.lang.Class.getDeclaredFields0(Native Method)\r\n        at java.lang.Class.privateGetDeclaredFields(Class.java:2583)\r\n        at java.lang.Class.getDeclaredField(Class.java:2068)\r\n        at gnu.expr.ModuleContext.findInstance(ModuleContext.java:74)\r\n        at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:286)\r\n        at gnu.expr.ModuleExp.evalModule(ModuleExp.java:212)\r\n        at kawa.Shell.run(Shell.java:291)\r\n        at kawa.Shell.runFile(Shell.java:524)\r\n        at kawa.standard.load.apply2(load.java:67)\r\n        at kawa.standard.load.apply1(load.java:27)\r\n        at gnu.mapping.Procedure.apply(Procedure.java:135)\r\n        at gnu.mapping.Procedure.apply(Procedure.java:118)\r\n        at gnu.mapping.CallContext.runUntilDone(CallContext.java:227)\r\n        at gnu.expr.ModuleExp.evalModule2(ModuleExp.java:350)\r\n        at gnu.expr.ModuleExp.evalModule(ModuleExp.java:212)\r\n        at kawa.Shell.run(Shell.java:291)\r\n        at kawa.Shell.runFile(Shell.java:524)\r\n        at kawa.Shell.runFileOrClass(Shell.java:447)\r\n        at kawa.repl.processArgs(repl.java:302)\r\n        at kawa.repl.main(repl.java:793)\r\n```\r\n\r\n`kawa-2.1.jar`\r\n\r\n```\r\nopenjdk version \"1.8.0_65\"\r\nOpenJDK Runtime Environment (build 1.8.0_65-b17)\r\nOpenJDK 64-Bit Server VM (build 25.65-b01, mixed mode)\r\n```"},"comment":{"url":"https://api.github.com/repos/okuoku/yuni/issues/comments/183419529","html_url":"https://github.com/okuoku/yuni/issues/33#issuecomment-183419529","issue_url":"https://api.github.com/repos/okuoku/yuni/issues/33","id":183419529,"user":{"login":"okuoku","id":100813,"avatar_url":"https://avatars.githubusercontent.com/u/100813?v=3","gravatar_id":"","url":"https://api.github.com/users/okuoku","html_url":"https://github.com/okuoku","followers_url":"https://api.github.com/users/okuoku/followers","following_url":"https://api.github.com/users/okuoku/following{/other_user}","gists_url":"https://api.github.com/users/okuoku/gists{/gist_id}","starred_url":"https://api.github.com/users/okuoku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okuoku/subscriptions","organizations_url":"https://api.github.com/users/okuoku/orgs","repos_url":"https://api.github.com/users/okuoku/repos","events_url":"https://api.github.com/users/okuoku/events{/privacy}","received_events_url":"https://api.github.com/users/okuoku/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T17:21:41Z","updated_at":"2016-02-12T17:21:41Z","body":"Reported and the upstream fixed the issue. https://sourceware.org/ml/kawa/2016-q1/msg00012.html\r\nNo longer a blocker for Yuni as of r8704(kawa-2.1.1). CLOSE."}}