Skip to content

Trivially-shareable constraint should be enforced for captured variables #61210

@aam

Description

@aam

Variables captured in closures should be checked whether they have trivially-shareble content: this is continuation #60825.

Currently captured content is not checked allowing having tests like this to pass:

rp.sendPort.send("hello");

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onarea-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.triagedIssue has been triaged by sub team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions