Beispiel #1
0
		internal override void ReportAbstractNotImplemented(ErrorSink/*!*/ errors, DType/*!*/ declaringType, PhpType/*!*/ referringType)
		{
			errors.Add(Errors.AbstractPropertyNotImplemented, referringType.Declaration.SourceUnit,
				referringType.Declaration.Position, referringType.FullName, declaringType.MakeFullGenericName(), this.FullName);

			ReportError(errors, Errors.RelatedLocation);
		}
Beispiel #2
0
        internal override void ReportMethodNotCompatible(ErrorSink errors, DType declaringType, PhpType referringType)
        {
            errors.Add(Errors.MethodNotCompatible, referringType.Declaration.SourceUnit,
                referringType.Declaration.Position,
                referringType.FullName, this.FullName, declaringType.MakeFullGenericName(), this.FullName);

            //ReportError(errors, Errors.RelatedLocation);
        }