Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Case issue with `Transparent`?

Open
#28 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java, kotlin
Domain
desktop

Research direction

Start with durian-swt/src/main/java/com/diffplug/common/swt/ControlWrapper.kt lines 114-125 and reproduce the unresolved-reference error from a Kotlin compiler using both transparent and Transparent. Compare the current Kotlin declarations with the former Java implementation, then verify that Kotlin callers can resolve the intended API without the case-related ambiguity.

Written by the indexing model from the issue text.

Description

It seems like Kotlin has a case-insensitivity bug.

https://github.com/diffplug/durian-swt/blob/f1b1e6306b6b0ac93f4e3186c92c1bbfc314d5b4/durian-swt/src/main/java/com/diffplug/common/swt/ControlWrapper.kt#L114-L125

This code used to be java, and it had the same bug. I switched it to Kotlin to try to fix it.

When called from a Kotlin compiler, I get this error: Unresolved reference 'transparent'. Interestingly, I get this error with both transparent and Transparent, and it's an accident that both methods exist at all.

Dominant language
Java
Stars
34
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/durian-swt

All issues in diffplug/durian-swt

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.