I have a Data Access Object written using jOOQ and it returns a rather complex type signature:
Map<Record, Result<Record14<String, Integer, String, String, String, String, String, String, Integer, String, Boolean, Boolean, Integer, Boolean>>> result = create....
I tried to replace with with Lombok's "val"
val result = create....
This works when I run/compile from Eclipse... When I try to compile within Gradle, I get:
UpdatesDAO.java:307: error: incompatible types
.fetchGroups(key);
^
required: val
found: Map<Record,Result<Record14<String,Integer,String,String,String,String,String,String,Integer,String,Boolean,Boolean,Integer,Boolean>>>
Can anyone tell me why it would work in Gradle for simpler types, but not for more complex types? I have other places in this same project which look something like:
val records = dao.getDatastoreById(id); // Returns a type of List<Datastore>
and they work just fine, even when compiled with Gradle... Am I missing something?
FYI: Lombok version = 1.14.8, Gradle version 2.2.1
I have tried lombok==1.14.6, Gradle version 2.2.0
I have also tried with both Java 8 and Java 7, both OpenJDK and Oracle JDK
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Project Lombok" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/project-lombok/t7MM6uqmRy8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to project-lombo...@googlegroups.com.