NativeScript / NativeScript/android

JSParser error should point to original file of the error not bundle.js

未关闭
#1,405 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
C++
星标
563
派生
144
平均合并
10 小时 46 分钟
30 天内合并 PR
14

描述

  1. JSParser error should point to original file of the error not bundle.js
  2. The line of the error should be added too
    JSParser Error: Not enough or too many arguments passed(0) when trying to extend interface: java.util.List in file: bundle.js

Same logic has been implemented in cli for runtime errors.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,将 JSParser 的错误处理与 issue 中提到的现有 CLI 运行时错误逻辑进行比较。确认 parser 当前如何报告 bundle.js,然后使完成后的行为识别原始源文件并包含错误所在行。

由索引模型根据 Issue 内容生成。

评估

技术栈
cpp, javascript
领域
mobile-dev
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。