Skip to content

undefined fuction tap/1 in HomeScreen example #46

@aayushmau5

Description

@aayushmau5

Hello!
Taking out Mob for a spin. I stumbled upon an issue with the "Your first screen" example.

Here's the error:

Compiling 1 file (.ex)
    error: undefined function tap/1 (expected Eva.HomeScreen to define such a function or for it to be imported, but none are available)
    │
  9 │     ~MOB"""
    │     ^^^^^^^
    │
    └─ lib/eva/home_screen.ex:9: Eva.HomeScreen.render/1


== Compilation error in file lib/eva/home_screen.ex ==
** (CompileError) lib/eva/home_screen.ex: cannot compile module Eva.HomeScreen (errors have been logged

It seems the compiler is interpreting the sigil's tap string as a tap function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions