Skip to content

Potential in-efficiency in finding changed symbols in namespaces #992

@markwpearce

Description

@markwpearce

Consider this code:

namespace Alpha.Beta.Gamma
    interface MyNode extends roSGNode
        commandName as string
    end interface

    function doesItWork(thing as Alpha.Beta.Gamma.MyNode)
        ? thing.commandName
    end function
 end namespace

if this file changes with an in-significant change (eg. add a comment or print statement), both Alpha.Beta.Gamma.MyNode and Alpha.Beta.Gamma.doesItWork are showing as changed.

I think this is because the interface Alpha.Beta.Gamma.MyNode can't be found, because the namespaceType Alpha will be referenceType...

It's not that drastic, but it can lead to extra validation that is not neccessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions