Skip to content

Report some errors in brigherscript #66

@ZhUyU1997

Description

@ZhUyU1997

This is a Bug Report

Description

  • I am trying to convert this framework to brigherscript, but it reports some errors.
  • I like BrighterScript and this framework, but they use different toolchains, which can be confusing for beginners. Is it possible to reach an agreement on some aspects to bridge this divide?
components/Kopytko/renderer/Kopytko.bs:166:3 - error BS1140: Cannot find function 'componentDidCatch'

 166    componentDidCatch(error, {
        ~~~~~~~~~~~~~~~~~         

     components/Kopytko/renderer/KopytkoGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoGroup.xml'

     components/Kopytko/renderer/KopytkoLayoutGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoLayoutGroup.xml'


components/Kopytko/renderer/KopytkoDiffUtility.bs:52:14 - error BS1001: Cannot find name 'currentVirtualDOM'

 52      if (Type(currentVirtualDOM) <> Type(newVirtualDOM))
                  ~~~~~~~~~~~~~~~~~                         

     components/Kopytko/renderer/KopytkoGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoGroup.xml'

     components/Kopytko/renderer/KopytkoLayoutGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoLayoutGroup.xml'


components/Kopytko/renderer/KopytkoDiffUtility.bs:52:41 - error BS1001: Cannot find name 'newVirtualDOM'

 52      if (Type(currentVirtualDOM) <> Type(newVirtualDOM))
                                             ~~~~~~~~~~~~~  

     components/Kopytko/renderer/KopytkoGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoGroup.xml'

     components/Kopytko/renderer/KopytkoLayoutGroup.xml:3:18
     Not defined in scope 'components/Kopytko/renderer/KopytkoLayoutGroup.xml'

Additional Data

  • bsc version: 0.70.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions