poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Assertion failure in pkl_ast_make_integral_type


From: John Darrington
Subject: Assertion failure in pkl_ast_make_integral_type
Date: Thu, 28 Nov 2019 08:03:47 +0100

This code:

defun foo = (offset<byte[],byte> input, int len) int:
{
    defvar ret = 0;
    return ret;
}


foo (0x10#B, 0);

Causes poke to assert with:

poke/src/pkl-ast.c:339: pkl_ast_make_integral_type: Assertion `signed_p == 0 || 
signed_p == 1' failed.
Aborted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]