Skip to content
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

Packages with different java source level in one project #269

Closed
MIOB opened this issue Mar 26, 2018 · 1 comment
Closed

Packages with different java source level in one project #269

MIOB opened this issue Mar 26, 2018 · 1 comment

Comments

@MIOB
Copy link

MIOB commented Mar 26, 2018

  1. Clone project https://github.com/MIOB/bazel-idea-plugin-usage-sample
  2. Import it into idea.
  3. Uncomment code from java7/src/main/java/sample
  4. Build project with command bazel build //...
  5. See compilation error in console

Actual: No compilation errors in idea is shown
Expected: There should be errors shown idea about lambda usage in java7 package.

@chaoren
Copy link
Collaborator

chaoren commented Mar 26, 2018

Same deal as #179
You can set one language level for the entire project, and it's unrelated to what you have for bazel.
Project Structure -> Project -> Project language level

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