kotlinx / ast

Generic AST parsing library for kotlin multiplatform
Apache License 2.0
326 stars 23 forks source link

Nullable types are not parsed correctly #32

Open fab1an opened 3 years ago

fab1an commented 3 years ago
package test

class MyObj(val myParam: String?)

The nullable field of the myParam inside the constructor is set to false. I'm using a96e681f90.

drieks commented 3 years ago

Hi @fab1an,

thank you for reporting this! Should be working now in version https://github.com/kotlinx/ast/commit/59c388806eba4b9bd980ac1a2aba669ac4d60612