Skip to content

[VFP] VFP dialect macro compiler issues #2057

Description

@cpyrgas

Following macro compiler expressions throw a macrocompiler error in VFP dialect only, with either /fox3+ or /fox3-

// Both with fox3+ and fox3-
//#pragma options("fox3", enable)

BEGIN NAMESPACE TestNS

CLASS TestFox
	STATIC EXPORT StaticExport AS INT
	STATIC PROPERTY StaticProperty AS INT AUTO
END CLASS

END NAMESPACE

FUNCTION Start() AS VOID
? &("System.Int32.MaxValue")
? &("TestNS.TestFox.StaticExport")
? &("TestNS.TestFox.StaticProperty")

/*
XSharp.MacroCompiler.CompilationError
Macrocompiler (1,59): error XM0222: 'TestNS.TestFox' is not a valid expression term
*/

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions