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

XML comments require a fully qualified reference in cref strings #467

Closed
RobertvanderHulst opened this issue Aug 12, 2020 · 0 comments
Closed

Comments

@RobertvanderHulst
Copy link
Member

Unlike C# we now require fully qualified references.
The following code

/// <summary>
/// Entry point
/// </summary>
FUNCTION Start() AS VOID STRICT
    ? "Hello World! Today is ",Today()
    WAIT
	RETURN	

/// <summary>
/// Convert an XML boolean to a logic
/// </summary>
/// <seealso cref="LogicToXmlLogic"/>
/// <param name='sXmlString'>The XML String</param>
/// <returns>true if the XML string == "1"</returns>
function XmlLogicToLogic( sXmlString as string ) as logic
return (alltrim(sXmlString) == "1")
/// <summary>
/// Convert a logic to an XML boolean
/// </summary>
/// <seealso cref="XmlLogicToLogic"/>
/// <param name='lLogic'>The Logic</param>
/// <returns>"1" if the Logic is true, "0" if false</returns>
function LogicToXmlLogic( lLogic as logic ) as string
return iif(lLogic,"1","0")

should automatically resolve the cref to

"M:MyApp.Exe.Functions.<name>(params)"

And the compiler should also generate something for the compiler generated functions class when this is missing.

@RobertvanderHulst RobertvanderHulst self-assigned this Aug 12, 2020
@RobertvanderHulst RobertvanderHulst added this to To do in Compiler via automation Aug 12, 2020
Compiler automation moved this from To do to Done Jan 11, 2021
@RobertvanderHulst RobertvanderHulst added this to Done in April 2021 Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant