Skip to content

Protobuf::Meta::Attribute needs to specify an "is" parameter when creating anon classes #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. install recent enough release of Moose
2. perl Makefile.PL && make test

When running the tests, you get a lot of these warnings:

   Attribute (_protobuf_extra_fields) of class AppEngine::Service::MemcacheStatsResponse has no 
associated methods (did you mean to provide an "is" argument?)

This is only because Protobuf::Meta::Attribute does not specify the "is" field 
when calling 
create_from_descriptor().

I have not checked if these attributes need to be readonly or read/write, but 
the tests seems to 
pass with just a simple addition of is => "ro"

Original issue reported on code.google.com by [email protected] on 7 Jul 2009 at 8:42

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions