[Vala] The name `get_name' does not exist in the context of `Test.A'
- From: Geert Jordaens <geert jordaens telenet be>
- To: vala-list gnome org
- Subject: [Vala] The name `get_name' does not exist in the context of `Test.A'
- Date: Wed, 14 May 2008 19:21:25 +0200
Could anybody give me a hint on what's wrong with folowing code :
using GLib;
namespace Test {
public class A : GLib.Object {
public string name { get; set; }
}
public class B : GLib.Object {
public string name { get; set; }
public void copy_name (A a)
{
a.get_name();
}
}
}
/usr/local/bin/valac -C test-a.vala
test-a.vala:16.10-16.20: error: The name `get_name' does not exist in
the context of `Test.A'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]