GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [modelica] Follow-up fixes for Modelica language module by atrosinenko · Pull Request #2169 · pmd/pmd

Conversation

@atrosinenko

@atrosinenko atrosinenko commented Dec 17, 2019

Copy link
Copy Markdown
Contributor

Follow-up fixes for #2041.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
adangel
adangel approved these changes Dec 17, 2019
View reviewed changes

@adangel adangel left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

By the way: You can see the rule documentation here: https://pmd.sourceforge.io/snapshot/pmd_rules_modelica_bestpractices.html (it's updated from master branch).
You should add at least one example for each rule - that makes it easier to grasp what the rule is trying to detect.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ghost

ghost commented Dec 17, 2019

Copy link
Copy Markdown
1 Message
📖 No java rules are changed!

Generated by 🚫 Danger

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@atrosinenko

atrosinenko commented Dec 17, 2019

Copy link
Copy Markdown
Contributor Author

OK, I will squash some simple examples into this commit several minutes later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@atrosinenko
atrosinenko force-pushed the modelica-followup-fixes branch 2 times, most recently from d7057c8 to aabf3e5 Compare December 17, 2019 16:03
@atrosinenko

atrosinenko commented Dec 17, 2019

Copy link
Copy Markdown
Contributor Author

Hmm, technically, I have added examples. But when testing an example for AmbiguousResolution rule, OpenModelica originally refused to compile it not due to ambiguity, but because it can not find Inc1 and Inc2, so I just changed them to Test.Inc1.* and Test.Inc2.*. I also fixed one test description.

So, now rules looks better but should probably be fine-tuned by someone with deeper Modelica knowledge later (adding new rules is pending too, of course).

adangel reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@atrosinenko
[modelica] Follow-up fixes for Modelica language module
6224bd3
@atrosinenko
atrosinenko force-pushed the modelica-followup-fixes branch from aabf3e5 to 6224bd3 Compare December 17, 2019 16:44
@adangel adangel added this to the 6.21.0 milestone Dec 18, 2019
adangel added a commit that referenced this pull request Dec 18, 2019
@adangel
[doc] Update release notes, refs #2169
7e9c5c3
@adangel
adangel merged commit 6224bd3 into pmd:master Dec 18, 2019
@atrosinenko
atrosinenko deleted the modelica-followup-fixes branch February 6, 2022 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adangel adangel adangel approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

6.21.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@atrosinenko @adangel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.