mirror of
https://github.com/fankes/moshi.git
synced 2025-10-20 08:29:22 +08:00
test case and possible fix for messaging when type resolution fails due to invalid syntax of a generic property (#1527)
This commit is contained in:
@@ -87,9 +87,9 @@ private class JsonClassSymbolProcessor(
|
||||
|
||||
if (!jsonClassAnnotation.generateAdapter) continue
|
||||
|
||||
val originatingFile = type.containingFile!!
|
||||
val adapterGenerator = adapterGenerator(logger, resolver, type) ?: return emptyList()
|
||||
try {
|
||||
val originatingFile = type.containingFile!!
|
||||
val adapterGenerator = adapterGenerator(logger, resolver, type) ?: return emptyList()
|
||||
val preparedAdapter = adapterGenerator
|
||||
.prepare(generateProguardRules) { spec ->
|
||||
spec.toBuilder()
|
||||
|
Reference in New Issue
Block a user