# Property assignment in an aspect give a type mismatch

**URL:** https://talk.remobjects.com/t/property-assignment-in-an-aspect-give-a-type-mismatch/24954
**Category:** Mercury
**Tags:** wasm
**Created:** [June 18, 2021, 4:18pm UTC](https://talk.remobjects.com/t/property-assignment-in-an-aspect-give-a-type-mismatch/24954 "2021-06-18T16:18:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [June 18, 2021, 4:18pm UTC](https://talk.remobjects.com/t/property-assignment-in-an-aspect-give-a-type-mismatch/24954/1 "2021-06-18T16:18:53Z")

</div>

When you reference an aspect from a webassembly, where you set the property of the aspect using a string, you get the error

```
Type mismatch, cannot assign "String" to "RemObjects.Elements.RTL.String"

```

Project to reproduce: [Module10 1.bugreport.zip](https://talk.remobjects.com/uploads/short-url/4d8HyGWlbOhYkzS3m8HXf3JJJu7.zip) (1.2 MB)

build log: [Module10 1.bugreport.txt](https://talk.remobjects.com/uploads/short-url/8Vj4dqgjBbKDMwKj3Rklue4ydNj.txt) (12.3 KB)

Print screen:

 ![image](https://talk.remobjects.com/uploads/default/original/2X/d/dc00390cc0edf5fc5c85c37a2d253ceaab1924a9.png)

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [June 18, 2021, 4:20pm UTC](https://talk.remobjects.com/t/property-assignment-in-an-aspect-give-a-type-mismatch/24954/2 "2021-06-18T16:20:27Z")

</div>

Logged as [bugs://E25174](https://www.remobjects.com/portal/bugs/?id=E25174).

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [June 21, 2021, 7:23am UTC](https://talk.remobjects.com/t/property-assignment-in-an-aspect-give-a-type-mismatch/24954/3 "2021-06-21T07:23:13Z")

</div>

[bugs://E25174](https://www.remobjects.com/portal/bugs/?id=E25174) was closed as fixed.
