Skip to content

Bug: Duplicate class/instance vars #202

@jamshark70

Description

@jamshark70

Please tell us what you were doing! You can include code and files by drag and dropping them into the text area.

Compiling the class library.

What was the expected result?

No warnings from Flucoma.

What was the actual result?

SC 3.15 prints a warning if a class declares the same variable name twice. For instance, if a class declares var x and a subclass also declares var x, this is invalid, and a warning is produced.

I get:

ERROR: Found duplicate instance variable name 'channels'
  in file '/home/dlm/.local/share/SuperCollider/Extensions/FluidCorpusManipulation/Classes/FluidStats.sc'
  line 3 char 17:

      var <channels;

...
ERROR: Found duplicate instance variable name 'server'
  in file '/home/dlm/.local/share/SuperCollider/Extensions/FluidCorpusManipulation/Classes/FluidMessageTest.sc'
  line 3 char 14:

      var server;

Easy fixes, just letting you know.

What operating system were you using?

Linux

Operating system version

n/a

FluCoMa Version

Can't find it quickly (no readme.md)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions