Skip to content

static imports partly broken #16

@processing-bot

Description

@processing-bot

Created by: clankill3r

In 3.5.3 you could use import static.
Here I use it for Ani.init() in setup.

import de.looksgood.ani.*;
import static de.looksgood.ani.Ani.*;

void setup() {
  init(this);
}

I use Ani as an example cause i didn't want to share a whole project to demonstrate.

With processing4 I get:

No library found for de.looksgood.ani.Ani
The function init(sketch_191027a) does not exist.

The 'No library found' error is not new, but not being able to use the static methods is new.

!!! I do use the latest release that can be downloaded from Sam Pottinger's site, which is dated September. I'm unable to build it myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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