const alloc = app.buffer_allocator.allocator();
const open_file_path = try std.fs.path.join(alloc, &[_][]const u8{
try std.fs.cwd().realpathAlloc(alloc, "."),
"src/main.zig",
});
const open_file_lines = try buffer.readFile(alloc, open_file_path);
const editor_view = try alloc.create(EditorView);
I am getting weird pointer errors. Do you know what i could be doing wrong? By the way, buffer_allocator is an arena and I am probably doing something stupid here.