unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 36548@debbugs.gnu.org
Cc: ada-mode-users@nongnu.org
Subject: bug#36548: 26.1; ada-mode 6.0.0 SAL.PROGRAMMER_ERROR: wisi_runtime.get_aug_token virtual terminal
Date: Mon, 08 Jul 2019 14:43:27 +0200	[thread overview]
Message-ID: <53eca5dd5a0e836bd0048c243d8321d2@ludovic-brenta.org> (raw)

Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users@nongnu.org
Severity: minor

Hello,

With this buffer contents, RET at the end of any line results in this 
message:


wisi--run-parse: unhandled exception: SAL.PROGRAMMER_ERROR: 
wisi_runtime.get_aug_token virtual terminal

(of course, the program text is not synctactically correct,
that's the point of an interactive editor :))


with Ada.Text_IO; use Ada.Text_IO;

procedure Field_parent is

type Root_Disc_T is (Rdisc1, Rdisc2, Rdisc3);

type Root_T (Root_Disc : Root_Disc_T := Root_Disc_T'First) is tagged 
limited record
   Root_Field : Integer;
   case Root_Disc is
     when Rdisc1 => Root_Field1 : Integer;
     when Rdisc2 => Root_Field2 : Float;
     when Rdisc3 => Root_Field3 : Character;
   end case;
end record;

type Child_Disc_T is (Cdisc1, Cdisc2, Cdisc3);

type Child_T (Child_Disc : Child_Disc_T := Child_Disc_T'First) is new 
Root_T (Rdisc2) with record
     is new Root_T  with record
   Child_Field : Integer;
   case Child_Disc is
     when Cdisc1 => Child_Field1 : Integer;
     when Cdisc2 => Child_Field2 : Float;
     when Cdisc3 => Child_Field4 : Character;
   end case;record;


type D1_T is (D1, D2, D3);
type D2_T is (D4, D5, D6);


type Var_T (Disc1 : D1_T, Disc2 : D2_T) is record T
   Field1 : Integer;


end record;




   Child : Child_T := (Cdisc1, Child_Field  => 1, Child_Field1 => 2, 
Root_Field => 3, Root_Field2 => 1.42);
begin
   Put_Line ("Hi:" & Child.Child_Field'Image);
end;


-- 
Ludovic Brenta.





             reply	other threads:[~2019-07-08 12:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-08 12:43 Ludovic Brenta [this message]
2019-07-11 22:20 ` bug#36548: update Stephen Leake
2019-08-18 17:01 ` bug#36548: Fixed in ada-mode 6.1.1 Stephen Leake
2019-08-18 17:02 ` bug#36548: close Stephen Leake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53eca5dd5a0e836bd0048c243d8321d2@ludovic-brenta.org \
    --to=ludovic@ludovic-brenta.org \
    --cc=36548@debbugs.gnu.org \
    --cc=ada-mode-users@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).