Fable: Cannot resolve trait error

Created on 10 Mar 2017  路  4Comments  路  Source: fable-compiler/Fable

Description

error FABLE: Cannot resolve trait call op_HatDot

Everything worked when Action was specific for RecordB, when I made it generic, it started throwing that.

Repro code

Doesn't work: http://www.fssnip.net/7Su
Work: http://www.fssnip.net/7Sv

Expected and actual results

Should work

Related information

  • fable-compiler version: 0.7.50
  • fable-core version: 0.7.29
  • fable-arch version: 0.10.1
  • fable-aether version: 0.1.1
  • Operating system: Win10

Most helpful comment

For me this looks fixed. It's compiling on my side. I'll wait for @MangelMaxime to confirm too before closing.

All 4 comments

@FrankBro I've pushed a new Fable 1.0 beta version (1.0.0-narumi-905) to fix the problem, you should be able to download it by running dotnet restore --no-cache, can you please give it a try? You also need to update the fable-core and fable-loader npm packages.

Crossing fingers :)

Hum, this is a really great news. I will test it also :)

For me this looks fixed. It's compiling on my side. I'll wait for @MangelMaxime to confirm too before closing.

The issue seems fixed on my side too.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sergey-tihon picture sergey-tihon  路  70Comments

bilkusg picture bilkusg  路  28Comments

ed-ilyin picture ed-ilyin  路  48Comments

alfonsogarciacaro picture alfonsogarciacaro  路  57Comments

ncave picture ncave  路  35Comments