When enum values with underscores in their names are used in comments as cross references, they are not converted correctly as native cross references. I've constructed a test case CommentsWithCrossReferenceOfEnumValue.lime.
After building the gluecodium project, run the following command in the project root folder:
./generate -input ../functional-tests/functional/input/lime/CommentsWithCrossReferenceOfEnumValue.lime -generators cpp,swift,dart -output test
One can also use the absolute path for the input lime file.
Check the generated files
/**
* Note:* [Error.INVALID_PARAMETER] error is generated.
*/
instead of the correct one
/**
* Note:* ::test::Error::INVALID_PARAMETER error is generated.
*/
TestClassEnumValueWithoutUnderScore.h always working.
/// Note:* [Error.INVALID_PARAMETER] error is generated.
instead of the correct one
/// Note:* [Error.invalidParameter] error is generated.
test_class_enum_value_without_under_score.dart always working.
When enum values with underscores in their names are used in comments as cross references, they are not converted correctly as native cross references. I've constructed a test case CommentsWithCrossReferenceOfEnumValue.lime.
After building the gluecodium project, run the following command in the project root folder:
One can also use the absolute path for the input lime file.
Check the generated files
TestClassEnumValueWithUnderScore.h sometimes doesn't work. For example:
instead of the correct one
TestClassEnumValueWithoutUnderScore.h always working.
test_class_enum_value_with_under_score.dart sometimes doesn't work. For example
instead of the correct one
test_class_enum_value_without_under_score.dart always working.
TestClassEnumValueWithUnderScore.swift sometimes doesn't work.TestClassEnumValueWithoutUnderScore.swift always working.