Go Back
6 Votes

Traditional Synergy Compiler DBL-E-NFND Should Report All Instances Of Error On Same Line


Consider the following invalid Traditional Synergy Application:
 

namespace MyNameSpace
	structure MyStructure
		MyField	,a1
	endstructure

	structure MySecondStructure
		MyField	,a1
	endstructure
endnamespace


main
proc
	begin
		data localStruc	,MyStructure
		data localStruc2	,MySecondStructure
		localStruc.MyFakeField = localStruc2.MyFakeField
	end
endmain

This produces this error:
 
Error DBL-E-NFND: %DBL-E-NFND, localStruc2.MyFakeField not found : localStruc.MyFakeField = localStruc2.MyFakeField

Compare this to a similar C# Program:
 
namespace CSharpStructError
{
    class Program
    {
        static void Main(string[] args)
        {
            MyStructure localStruc = new MyStructure();
            MySecondStructure localStruc2 = new MySecondStructure();
            localStruc.MyFakeField = localStruc2.MyFakeField;
        }
    }

    struct MyStructure
    {

    }

    struct MySecondStructure
    {

    }
}

This produces this error:
 
1>R:\NFNDImprovements\CSharpClassError\Program.cs(9,24,9,35): error CS1061: 'MyStructure' does not contain a definition for 'MyFakeField' and no accessible extension method 'MyFakeField' accepting a first argument of type 'MyStructure' could be found (are you missing a using directive or an assembly reference?)
1>R:\NFNDImprovements\CSharpClassError\Program.cs(9,50,9,61): error CS1061: 'MySecondStructure' does not contain a definition for 'MyFakeField' and no accessible extension method 'MyFakeField' accepting a first argument of type 'MySecondStructure' could be found (are you missing a using directive or an assembly reference?)

In the C# Version ALL instances of the violation are reported; whereas only the last violation is reported in Traditional Synergy. This causes two dev spins to identify all errors on this line which is wasted effort.

We desire that Traditional Synergy Report all errors on a line.

1 Comment | Posted by Ace Olszowka to Synergy DBL on 4/3/2019 2:47 PM
Gordon Ireland
And add the same thing for synergy.net

4/26/2019 8:28 AM   1  
Please log in to comment on this idea.