javaStyle defined as case insensitive
- Dominant language
- Haskell
- Stars
- 892
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
In `Text.Parsec.Language` the definition for the `javaStyle` is:
```hs
javaStyle :: LanguageDef st
javaStyle = emptyDef
{ commentStart = "/*"
, commentEnd = "*/"
, commentLine = "//"
, nestedComments = True
, identStart = letter
, identLetter = alphaNum <|> oneOf "_'"
, reservedNames = []
, reservedOpNames= []
, caseSensitive = False -- <==
}
```
Which defines java style to be case insensitive, which is very confusing as most java style languages are in fact **case sensitive**. Not sure if this is an oversight or me misunderstanding the intention of this language definition.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in Text.Parsec.Language and inspect the javaStyle definition, especially its caseSensitive setting. Confirm the intended behavior for Java-style languages and review the existing test suite for language-definition coverage; done means the behavior is corrected and verified by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100