ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ada-mode-users] Ada-mode 5.0.2: Error when indenting size clause


From: SCHOEPFLIN Markus
Subject: [Ada-mode-users] Ada-mode 5.0.2: Error when indenting size clause
Date: Wed, 12 Oct 2016 10:02:28 +0000

Given the following code:

 

package TEST is

   type T is new NATURAL;

   for T'SIZE use 32;

end TEST;

 

When positioning the cursor after “SIZE” and then pressing the <Return> key, I get the following error:

 

Error: (error "cl-ecase failed: aspect_clause, (aggregate component_declaration entry_body formal_package_declaration task_type_declaration subtype_declaration single_task_declaration single_protected_declaration protected_type_declaration full_type_declaration generic_instantiation generic_renaming_declaration object_declaration package_body package_declaration private_extension_declaration private_type_declaration qualified_expression statement null_procedure_declaration expression_function_declaration abstract_subprogram_declaration subprogram_specification subprogram_declaration subprogram_body)")

wisi-indent-line: Wrong type argument: number-or-marker-p, nil

 

Afterwards, pressing the <TAB> key on the line with the “use” gives the same error.

 

Markus

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]