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

Not unboxing string value for XML field #558

Open
lkipke opened this issue Oct 8, 2020 · 0 comments
Open

Not unboxing string value for XML field #558

lkipke opened this issue Oct 8, 2020 · 0 comments
Labels
bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior stdlib Affects the standard library included with this BrightScript implementation

Comments

@lkipke
Copy link
Collaborator

lkipke commented Oct 8, 2020

When we have a string field defined in xml:

<interface>
  <field id="foo" type="string">
</interface>

and then try to set it in code:

val = ""
val += "abcd" ' make it an roString
node.foo = val
print node.foo ' => ""

brs doesn't set the value when it's an roString.

@lkipke lkipke added bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior stdlib Affects the standard library included with this BrightScript implementation labels Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any difference between this BrightScript implementation and RBI, or otherwise unexpected behavior stdlib Affects the standard library included with this BrightScript implementation
Projects
None yet
Development

No branches or pull requests

1 participant