GithubHelp home page GithubHelp logo

Comments (8)

Arthurvdv avatar Arthurvdv commented on July 2, 2024 1

@rvanbekkum, Thanks! That validation was are hiding in plain sight somehow 😅

I've moved this validation a bit up in the chain to early exclude procedures that are part of the interface.

from businesscentral.lintercop.

fvet avatar fvet commented on July 2, 2024

The internal method PreProcessIncomingMessage in Codeunit ESCN IC Message Order (Access = Public) is declared but never used.

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 2, 2024

You're right, this seems like a false positive.

When a codeunit implements an interface, then LC0052 (and LC0053) should not raise a diagnostic.

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 2, 2024

This should now be resolved in the (pre)release version of v0.30.15 of the LinterCop.

from businesscentral.lintercop.

rvanbekkum avatar rvanbekkum commented on July 2, 2024

The changes that were made are now leading to false negatives. It should not completely skip procedures in codeunits that implement an interface, because if you do that it skips procedures that are not part of the interface.
I think instead the method that checks if a procedure implements an interface procedure could/should be adjusted slightly. 😉

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 2, 2024

@rvanbekkum , you're right, thank you for bringing this to our attention.

I need to verify if the procure is declared in the interface and then skip these.

from businesscentral.lintercop.

rvanbekkum avatar rvanbekkum commented on July 2, 2024

That's already been accounted for in the current implementation, but maybe there's an issue with the scenario in which the access modifiers of the procedures are not matching? Would need to be checked though, that's just a guess.

from businesscentral.lintercop.

Arthurvdv avatar Arthurvdv commented on July 2, 2024

Version v0.30.16 of the LinterCop is now released. Is it possible to verify of the issue is now resolved?

from businesscentral.lintercop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.