https://bugs.kde.org/show_bug.cgi?id=449441
Bug ID: 449441
Summary: Code completion keeps changing . to ->
Product: kdevelop
Version: 5.7.211201
Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Code completion
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
typedef struct io_block_ops {
size_t (*read)(int lba, uintptr_t buf, size_t size);
size_t (*write)(int lba, const uintptr_t buf, size_t size);
} io_block_ops_t;
typedef struct io_block_dev_spec {
io_block_spec_t buffer;
io_block_ops_t ops;
size_t block_size;
} io_block_dev_spec_t;
Now as I'm filling in a global variable it's doing this:
static struct io_block_dev_spec emmc_dev_spec = {
->ops = {
^^
.read = emmc_block_read,
.write = emmc_block_write,
}
}
Which is wrong. Every time I replace -> with . it just replaces it back with ->
I can force it to use "." if I copy and paste, otherwise, it's extremely
annoying.
OBSERVED RESULT
Shown above
EXPECTED RESULT
It should use ".", not "->"
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: Linux (x86_64) release 5.3.18-150300.59.43-preempt
(available in About System)
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 21.12.1
Qt Version: 5.15.2
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.