winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
5.06k stars 198 forks source link

inflight function expected type error in tutorial #7196

Closed kevinjone25 closed 1 month ago

kevinjone25 commented 1 month ago

// wing version: 0.85.19 // tutorial name: Introduction

In tutorial LOG 4/8 The code what tutorial write is inflight(s:str?) but the compiler will appear the error that indicates it should be inflight(s:Json) After correct the code to inflight(s:Json), the compiler work normally image

image

eladb commented 1 month ago

Thanks for reporting. We’ll fix this asap.

On Fri, Oct 11, 2024 at 14:15 Cheng Chih Yuan @.***> wrote:

// wing version: 0.85.19 // tutorial name: Introduction

In tutorial LOG 4/8 The code what tutorial write is inflight(s:str?) but the compiler will appear the error that indicates it should be inflight(s:Json) After correct the code to inflight(s:Json), the compiler work normally image.png (view on web) https://github.com/user-attachments/assets/3817341d-2120-4b82-8359-068b08f2abc8

image.png (view on web) https://github.com/user-attachments/assets/09868658-c142-404b-b742-ed9202532168

— Reply to this email directly, view it on GitHub https://github.com/winglang/wing/issues/7196, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAESGDDUTVBAPXC3QRWUG7DZ26XOHAVCNFSM6AAAAABPYWS6FGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DCMJRGM4TENQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>