davidvarga/MBeautifier

Parsing whitespace separated dot operator in a array defintions

Open

#127 aperta il 29 apr 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)MATLAB (77 fork)batch import
bughelp wanted

Metriche repository

Star
 (512 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

disp( [ 'Error: ' ME . message ] );
disp( [ 'Error: ' ME .message ] );
disp( [ 'Error: ' ME. message ] );
disp( [ 'Error: ' ME.message ] );
disp( [ 'Error: ', ME . message ] );
disp( [ 'Error: ', ME .message ] );
disp( [ 'Error: ', ME. message ] );

should all be parsed the same as disp( [ 'Error: ', ME.message ] );

MBeautifier is erroneously parsing disp( [ 'Error: ' ME . message ] ); like this disp( [ 'Error: ', ME, ., message ] ); which isn't valid Matlab syntax and neither is it in agreement with Matlab parser.

Guida contributor