dalexander
01/27/2017, 1:05 PMval v = { a -> 5 }(123)
makes the compiler throw an exception, already reported it through IDEA, is it helpful for me to report it through another channel?Andreas Sinz
01/27/2017, 1:08 PMdalexander
01/27/2017, 1:14 PMs.luhmirins
01/27/2017, 1:22 PMdalexander
01/27/2017, 1:24 PM{ a -> 5 }
does fail with something to the effect of “Can’t infer type, please specify”, but making the call is causing the exception.ralf
01/27/2017, 1:51 PMobject.<String>someMethod();
?mg6maciej
01/27/2017, 1:52 PMemptyList<String>()
mg6maciej
01/27/2017, 1:55 PMEugenio
01/27/2017, 3:02 PMEugenio
01/27/2017, 3:02 PMralf
01/27/2017, 3:03 PMIan
01/27/2017, 4:05 PMelect
01/27/2017, 4:05 PMIan
01/27/2017, 4:06 PMelect
01/27/2017, 4:06 PMjavaClass.getResource()
elect
01/27/2017, 4:06 PMIan
01/27/2017, 4:06 PMIan
01/27/2017, 4:07 PMException in thread "main" java.nio.file.FileSystemNotFoundException
at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:171)
at com.sun.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:157)
at java.nio.file.Paths.get(Paths.java:143)
at com.github.sanity.kweb.KWeb.<init>(KWeb.kt:51)
at com.github.sanity.kweb.KWeb.<init>(KWeb.kt:31)
at investorscan.web.WebKt.main(Web.kt:16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
elect
01/27/2017, 4:07 PMprintln(javaClass.getResource(..))
elect
01/27/2017, 4:07 PMIan
01/27/2017, 4:08 PMval bootstrapHtml = String(Files.readAllBytes(Paths.get(javaClass.getResource("kweb_bootstrap.html").toURI())), StandardCharsets.UTF_8)
Ian
01/27/2017, 4:09 PMelect
01/27/2017, 4:10 PMIan
01/27/2017, 4:11 PMelect
01/27/2017, 4:11 PMralf
01/27/2017, 4:32 PMgimlet
01/27/2017, 4:39 PMgimlet
01/27/2017, 4:39 PMmiha-x64
01/27/2017, 4:41 PM@Transient
property with a backing field which is not by Delegate
, but = Delegate
.
And then create a property without a backing field at all, so its getter will call delegatedField.getValue()
, and setter will call delegatedField.setValue(new0
.gimlet
01/27/2017, 4:43 PM