v
v copied to clipboard
fmt: fix striping modules prefix in orm
closes #14732
Please add the failing (and now fixed) code snippet as a regression test file in say:
vlib/v/fmt/tests/orm_module_prefix_keep.vv
(the _keep.vv
suffix is important, it means that file is checked to be invariant under vfmt (it will be processed by v fmt file.v
, and the result should be exactly the same as the input)).
Also
FAIL [ 92/187] 0.590 ms file vlib/v/fmt/tests/orm_keep.vv after formatting, does not look as expected.
I'll look into it later
Will continue this pr after the 1th August probably, bc of holidays
@spytheman it is done now