redstone-dart / redstone

A metadata driven microframework for Dart.
http://redstone-dart.github.io/redstone
MIT License
342 stars 42 forks source link

Redstone Mapper build error if other annotations are present on field #95

Open cgarciae opened 9 years ago

cgarciae commented 9 years ago

Specifically the class looked like this

class JsonAccessCredentials implements auth.AccessCredentials
{
    @Field()
    @override
    JsonAccessToken accessToken;

    @Field()
    @override
    String refreshToken;

    ...

I got mapper errors on build and had to the the usual "comment code until it compiles" strategy. The @override annotations where auto generated by quick-fix when I was implementing the `AccessCredentials``interface. I don't really need them, but it shouldn't hurt to have them.