Skip to content

Conversation

@rbygrave
Copy link
Contributor

@rbygrave rbygrave commented Mar 7, 2025

Improve the compiler error to more clearly indicate the source of the error. Add the Json.Import and Json.Mixin prefix if they are the original source of the error.

Instead of:

[ERROR] Non public field java.util.Calendar fields with no matching setter or constructor?

Produce:

[ERROR] @Json.Import of java.util.Calendar, non public field fields with no matching setter or constructor?

Improve the compiler error to more clearly indicate the source of the error. Add the Json.Import and Json.Mixin prefix if they are the original source of the error.

Instead of:
```
[ERROR] Non public field java.util.Calendar fields with no matching setter or constructor?
```

Produce:
```
[ERROR] @Json.Import of java.util.Calendar, non public field fields with no matching setter or constructor?
```
@rbygrave rbygrave requested a review from SentryMan March 7, 2025 03:36
@rbygrave rbygrave self-assigned this Mar 7, 2025
@rbygrave rbygrave merged commit 8964b66 into main Mar 7, 2025
9 checks passed
@rbygrave rbygrave deleted the feature/improve-compiler-error branch March 7, 2025 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants