Skip to content

Forbid passing character slices to references.#377

Merged
dvander merged 1 commit intomasterfrom
rm-pv
Sep 24, 2019
Merged

Forbid passing character slices to references.#377
dvander merged 1 commit intomasterfrom
rm-pv

Conversation

@dvander
Copy link
Copy Markdown
Member

@dvander dvander commented Sep 24, 2019

This can't be properly supported because there is no 8-bit char type. As
is, it performs an improper memory access.

Bug: N/A
Test: compile-only/fail-array-char-to-int-ref

This can't be properly supported because there is no 8-bit char type. As
is, it performs an improper memory access.

Bug: N/A
Test: compile-only/fail-array-char-to-int-ref
@dvander
Copy link
Copy Markdown
Member Author

dvander commented Sep 24, 2019

Note: upstream contains the same fix.

@dvander dvander merged commit d935ec4 into master Sep 24, 2019
@dvander dvander deleted the rm-pv branch September 24, 2019 03:57
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.

1 participant