Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.*.RecordType cannot be cast to com.*.PointerType #74

Open
EmilyGraceSeville7cf opened this issue Apr 20, 2024 · 0 comments
Open

com.*.RecordType cannot be cast to com.*.PointerType #74

EmilyGraceSeville7cf opened this issue Apr 20, 2024 · 0 comments

Comments

@EmilyGraceSeville7cf
Copy link

EmilyGraceSeville7cf commented Apr 20, 2024

program Test; 

type
  TSample = record
    sampleField: integer; 
  end;
  
  PSample = ^TSample;


function NewStack(): PSample;
var
  sample: PSample;

begin
  sample^.sampleField := 0;
end;


begin
  
end.
@EmilyGraceSeville7cf EmilyGraceSeville7cf changed the title *.RecordType cannot be cast to *.PointerType com.*.RecordType cannot be cast to com.*.PointerType Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant