Skip to content

Conversation

LK
Copy link
Contributor

@LK LK commented Oct 16, 2025

No description provided.

@LK LK requested a review from akhilles October 16, 2025 06:17
fn is_instance_position(&self, key: &str, instance_ref: &InstanceRef) -> Option<()> {
// Strip @U suffix from the key if present (for multi-unit symbols)
// e.g., "U1.OPEN_Q_6490CS@U1" -> "U1.OPEN_Q_6490CS"
let key_without_unit = key.split('@').next().unwrap_or(key);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess we should disallow @ in component names as part of this too, which I don't think should break anything

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, could you add this to validate_identifier_name() in lang/validation.rs?

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.

2 participants