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

Fix compile-time error logging for user defined module prefix for xmldata #22

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

prakanth97
Copy link
Contributor

Purpose

Fixes: #6540

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

@@ -0,0 +1,8 @@
import ballerina/data.xmldata as xd;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add another file with a different prefix and another file with default. Use file names as m1 -> prefix: xd , m2 -> no prefix, m3-> prefix: xd2

Copy link
Contributor Author

@prakanth97 prakanth97 May 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@prakanth97 prakanth97 requested a review from hasithaa May 30, 2024 05:50
@hasithaa hasithaa merged commit b9bb649 into ballerina-platform:main Jun 6, 2024
5 checks passed
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.

When a prefix is used when import jsondata expected type validation compiler analysis won't work
2 participants