Emoji brings down hello-world example
Open
Nobody has claimed this yet.
website infrastructure
- Dominant language
- Ada
- Stars
- 117
- Forks
- 49
- Avg merge
- 44m
- Merged PRs (30d)
- 8
Description
If you put this program into the interactive hello-world compiler box, it apparently crashes. Changing the program again seems to still work, so I'm not sure this is really a problem.
with Ada.Text_IO; use Ada.Text_IO;
procedure Greet is
Message : String (1 .. 4) := "😊";
-- ^ Pre-defined array type.
-- Component type is Character
begin
for I in reverse Message'Range loop
-- ^ Iterate in reverse order
Put (Message (I));
end loop;
New_Line;
end Greet;
The error message is:
$ ./greet
The machine running the examples may not be available or is busy, please try again now or come back later.

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the interactive hello-world compiler box linked in the report and reproduce the Ada program containing the emoji string. Inspect what happens when it is compiled or run, including whether the box remains usable afterward; the issue is done when the emoji case no longer brings down the example or the failure is reported safely.
Written by the indexing model from the issue text.
Assessment
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100