dimanche 15 janvier 2017

Flash Builder warning "x is not used locally" in internal classes

I'm using Flash Builder 4.7 and Legacy compiler (not ASC2.0).

Here's the problem: I've got a file with two classes (one is internal class). When internal class imports public class from the same file, Flash Builder throws a warning "The X is not used locally", but it obviously IS used.

Example:

package module {

    public class Test {

        public function Test(){}

    }

}

import module.Test;

internal class Chunk {

    private var _test:Test;

}

Flash Builder screenshot

Any suggestions on how to solve this?

Aucun commentaire:

Enregistrer un commentaire