Skip to content

Strange behaviour on printf #195

@x1z53

Description

@x1z53

Initial code:

int main () {
  print ("%i".printf(0));
  return 0;
}

Command execute:

~/git/temp 
> vala-lint vala.vala
vala.vala
    2.21    error   Expected space before paren                     space-before-paren

1 error, 0 warnings

~/git/temp [1]  
> vala-lint --fix vala.vala
No mistakes found

Code after commands:

int main () {
  print ("%i".printf( 0));
  return 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions