Commit 95c4e5c0ac90197bfcb62397b7318aca5ba0a614

Thomas de Grivel 2024-08-03T11:01:48

test struct offsets

diff --git a/.ikc3_history b/.ikc3_history
index 7e54e8b..676b83b 100644
--- a/.ikc3_history
+++ b/.ikc3_history
@@ -1,13 +1,3 @@
-x = %C3.Operator{sym: 1}
-x = %C3.Operator{sym: (Sym) "1"}
-x = %C3.Operator{sym: :1}
-x = %KC3.Operator{sym: :1}
-s = Socket.listen("localhost", 8000)
-(s8) -128
-(S8) -128
-type(-128)
-type(-127)
-128*128
 128 * 128
 256 * 256 - 1
 type(256 * 256 - 1)
@@ -97,3 +87,12 @@ Struct.offset(%HTTP.Request{}, :url)
 Struct.offset(%HTTP.Request{}, :protocol)
 Struct.offset(%HTTP.Request{}, :headers)
 Struct.offset(%HTTP.Response{}, :message)
+Struct.offset(%HTTP.Request{}, :method)
+Struct.offset(%HTTP.Request{}, :url)
+Struct.offset(%HTTP.Request{}, :protocol)
+Struct.offset(%HTTP.Request{}, :headers)
+Struct.offset(%HTTP.Response{}, :protocol)
+Struct.offset(%HTTP.Response{}, :code)
+Struct.offset(%HTTP.Response{}, :message)
+Struct.offset(%HTTP.Response{}, :headers)
+Struct.offset(%HTTP.Response{}, :body)