* A reference to an instance field without a specific instance.
*/
public class Vala.FieldPrototype : DataType {
- public weak Field field_symbol { get; set; }
+ public weak Field field_symbol {
+ get {
+ return (Field) symbol;
+ }
+ }
public FieldPrototype (Field field_symbol) {
- this.field_symbol = field_symbol;
+ base.with_symbol (field_symbol);
}
public override DataType copy () {
* A reference to an instance property without a specific instance.
*/
public class Vala.PropertyPrototype : DataType {
- public weak Property property_symbol { get; set; }
+ public weak Property property_symbol {
+ get {
+ return (Property) symbol;
+ }
+ }
public PropertyPrototype (Property property_symbol) {
- this.property_symbol = property_symbol;
+ base.with_symbol (property_symbol);
}
public override DataType copy () {