Skip to content

Add indent and blank line rules for subprogram instantiation declarations #1365

@JHertz5

Description

@JHertz5

Related to #1318.
Implement indent and blank line rules for subprogram instantiation declarations.
For example, rules to fix this

  constant c_test1 : integer;
function my_func is new my_generic_func

    generic map (
      test => 2
    );
  constant c_test2 : integer;
      procedure my_proc is new my_generic_proc

    generic map (
      test => 2
    );

to this

  constant c_test1 : integer;

  function my_func is new my_generic_func
    generic map (
      test => 2
    );

  constant c_test2 : integer;

  procedure my_proc is new my_generic_proc
    generic map (
      test => 2
    );

Metadata

Metadata

Assignees

Projects

Status

Triaged

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions