Hi! Very nice work on this library. Unfortunately it looks like it is not able to get the source code location of classes in the same library.
Example Reflector code:
class Reflector extends Reflectable {
const Reflector() : super(typeCapability, typingCapability);
}
const reflector = Reflector();
@reflector
class Solver {
...
}
Code crashing with error Unsupported operation: location:
TypeMirror aMirror = reflector.reflectType(Solver);
var srcUri = aMirror.location.sourceUri;
As both Reflector and Solver class are in the same library, I would expect it to be able to get the source code location of the Solver class.
Hi! Very nice work on this library. Unfortunately it looks like it is not able to get the source code location of classes in the same library.
Example Reflector code:
Code crashing with error
Unsupported operation: location:As both Reflector and
Solverclass are in the same library, I would expect it to be able to get the source code location of theSolverclass.