-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
- cpp
TestClassEnumValueWithUnderScore.h sometimes doesn't work. For example:
/**
* Note:* [Error.INVALID_PARAMETER] error is generated.
*/
instead of the correct one
/**
* Note:* ::test::Error::INVALID_PARAMETER error is generated.
*/
TestClassEnumValueWithoutUnderScore.h always working.
- dart
test_class_enum_value_with_under_score.dart sometimes doesn't work. For example
/// 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.
- swift
TestClassEnumValueWithUnderScore.swift sometimes doesn't work.TestClassEnumValueWithoutUnderScore.swift always working.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working