Skip to content

Cannot compile #2

@t4sk

Description

@t4sk

Hi
First of all thanks for creating this!

I've tried compiling erc20.k but it fails with the following message:

[Error] Compiler: Could not find sorts: [Bool]
	Source(/mount/erc20.k)
	Location(16,19,16,22)

Any help would be much appreciated. Thanks

Detail

Installed k-framework using docker

Created a container, copied erc20.k and ran

k-distribution/target/release/k/bin/kompile /mount/erc20.k 

Log

root@21880d35cb6b:/k# k-distribution/target/release/k/bin/kompile /mount/erc20.k 

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/k/k-distribution/target/release/k/lib/java/guice-4.0-beta5.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[Error] Compiler: Could not find sorts: [Bool]
	Source(/mount/erc20.k)
	Location(16,19,16,22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions