You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/05/06 06:12:00 UTC

[jira] [Created] (GROOVY-11998) Better support of intersection types

Paul King created GROOVY-11998:
----------------------------------

             Summary: Better support of intersection types
                 Key: GROOVY-11998
                 URL: https://issues.apache.org/jira/browse/GROOVY-11998
             Project: Groovy
          Issue Type: Improvement
            Reporter: Paul King


E.g. to support
{code:java}
Runnable r = (Runnable & Serializable) () -> System.out.println("please serialize this message");
{code}

from here:
https://www.baeldung.com/java-serialize-lambda



--
This message was sent by Atlassian Jira
(v8.20.10#820010)