Vapor: Reference to member 'psql' cannot be resolved without a contextual type

Created on 4 Apr 2020  路  1Comment  路  Source: vapor/vapor


I cannot compile due to this error being present on my migrations.

In configure, where I am setting up migrations for my models I am getting a compilation error reading Reference to member 'psql' cannot be resolved without a contextual type.

Steps to reproduce


I don't know any. Last time I opened the project (last 2 weeks) it built and ran without issues.

Screenshot 2020-04-04 at 17 44 40
Screenshot 2020-04-04 at 17 44 47

Expected behavior

Actual behavior

Environment


  • Vapor Framework version: Cannot get due to compilation error
  • Vapor Toolbox version: 3.1.10
  • OS version: 10.15.3
question

Most helpful comment

It's a bug in the 5.2 compiler - see this forum post for the fix

>All comments

It's a bug in the 5.2 compiler - see this forum post for the fix

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0xTim picture 0xTim  路  4Comments

nhatlee picture nhatlee  路  3Comments

Joannis picture Joannis  路  4Comments

olivier38070 picture olivier38070  路  3Comments

kgn picture kgn  路  3Comments