Hello, Nicolas.
On Wed, 2011-02-23 at 11:55 +0100, Nicolas wrote:
> What happens if you simple declare the class like this:
>
> class GenieItem : Match
>
> And let all properties untouched.
No success:
genie-test-plugin.gs:37.5-37.28: error: Synapse.GeniePlugin.GenieItem:
some prerequisites (
Hi,
What happens if you simple declare the class like this:
class GenieItem : Match
And let all properties untouched.
Nicolas.
No success:
genie-test-plugin.gs:41.12-41.20: error: syntax error, expected
identifier
prop construct title : string
^
Compilation failed:
On Mon, 2011-02-21 at 11:42 -0500, Jamie McCracken wrote:
> > Also need to translate following:
> >
> > private class Connect : Object, Match {
> > // from Match interface
> > public string title { get; construct set; }
> > public string description { get;
your properties need to match the interface correctly
use readonly when there is only a get and no set and likewise use
construct for constructor properties
try
prop construct title
prop readonly description
etc...
jamie
On Mon, 2011-02-21 at 16:27 +0200, Antono Vasiljev wrote:
> On Mon, 201
What happens if you declare the function as static ?
def static register_plugin()
For the second error, what happens if you declare the class like this:
class Connect : Object, Match
Nicolas.
Yeah! It works. Probably need to move this to Genie wiki.
But I fall into another issues so need some
On Mon, 2011-02-21 at 12:42 +0100, Nicolas wrote:
> def async search (query : Query) : ResultSet? raises SearchError
>
> Don't forget to build with "--pkg gio-2.0"
>
> Nicolas.
>
> > Nope, neither when swapped async and ResultSet.
> >
> > Compilation failed: 1 error(s), 1 warning(s)
> > de