Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WI #1186 Generic CodeElement property on Node #1290

Merged
merged 5 commits into from
Mar 8, 2019

Conversation

osmedile
Copy link
Contributor

The goal of this PR is to have the return type of Node.CodeElement property to be of the most derived type.
Extension method CodeElement() which does the same by relying only on cast has been removed.
All unnecessary casts of Node.CodeElement have been removed.

I also removed the ITypedNode interface (#1289)

…ts from Compiler.Nodes.ProcedureStyleCall

Codegen.Nodes.ProcedureStyleCall inherited from Compiler.Nodes.Call
which was the base class for standard Cobol 85 call.
ITypedNode duplicates DataDefinition properties and is only
implemented by this class
As CodeElement property of Node is now of the good type cast are useless
@smedilol smedilol merged commit e251ec0 into TypeCobolTeam:develop Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants