diffplug / diffplug/durian-swt

Case issue with `Transparent`?

Open
#28 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
34
Forks
4
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.