Skip to content

Backend should emit a warning when file names clash on case-insensitive FS #2679

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DarkDimius opened this issue Jun 4, 2017 · 3 comments
Closed

Comments

@DarkDimius
Copy link
Contributor

No description provided.

@smarter smarter changed the title Backend should emmit a warning when file names clash on case-sensitive FS Backend should emit a warning when file names clash on case-sensitive FS Jun 4, 2017
@smarter smarter changed the title Backend should emit a warning when file names clash on case-sensitive FS Backend should emit a warning when file names clash on case-insensitive FS Jun 4, 2017
@smarter
Copy link
Member

smarter commented Jun 6, 2017

Look what I found in GenBCode :)

       // todo: add back those checks
        /*val lowercaseJavaClassName = claszSymbol.javaClassName.toLowerCase
        caseInsensitively.get(lowercaseJavaClassName) match {
          case None =>
            caseInsensitively.put(lowercaseJavaClassName, claszSymbol)
          case Some(dupClassSym) =>
            reporter.warning(
              claszSymbol.pos,
              s"Class ${claszSymbol.javaClassName} differs only in case from ${dupClassSym.javaClassName}. " +
                "Such classes will overwrite one another on case-insensitive filesystems."
            )
        }*/

@DarkDimius
Copy link
Contributor Author

:-) just remove comments around it and you're done :-)

@smarter
Copy link
Member

smarter commented Jan 11, 2018

Duplicate of #1077

@smarter smarter marked this as a duplicate of #1077 Jan 11, 2018
@smarter smarter closed this as completed Jan 11, 2018
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

No branches or pull requests

2 participants