Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

[BUG] Create formula with specific words #249

Closed
victor-schumacher opened this issue Jul 7, 2020 · 1 comment
Closed

[BUG] Create formula with specific words #249

victor-schumacher opened this issue Jul 7, 2020 · 1 comment
Labels
🪲 bug Report a bug encountered while operating Ritchie

Comments

@victor-schumacher
Copy link
Contributor

What happened:

Error after create formula with specific words like:
go
java
python
test
formula
form

What you expected to happen:
Be warned about unallowed words

How to reproduce it (as minimally and precisely as possible):
rit create formula
enter the new command like: rit go go
and choose go language

errors came while building formula:

Build error:
main.go:5:2:
pkg/go/go.go:1:9: expected 'IDENT', found 'go'
pkg/go/go.go:3:1: expected ';', found 'import'
make: *** [Makefile:19: build] Error 1

Environment:

  • Ritchie version: Building master
  • Operating System: Linux Ubuntu 20.04
@victor-schumacher victor-schumacher added the 🪲 bug Report a bug encountered while operating Ritchie label Jul 7, 2020
@victor-schumacher victor-schumacher changed the title [BUG] [BUG] Create formula with specific words Jul 7, 2020
@victor-schumacher victor-schumacher added the Hacktoberfest https://hacktoberfest.digitalocean.com/ label Jul 16, 2020
@viniciusramosdefaria viniciusramosdefaria added 🚧 WIP Work in Progress and removed Hacktoberfest https://hacktoberfest.digitalocean.com/ labels Jul 16, 2020
@victor-schumacher victor-schumacher added 1.0.0 and removed 🚧 WIP Work in Progress labels Aug 5, 2020
@brunasilvazup
Copy link
Contributor

Hello,

Before the updates I decided to check if the error persists:

I ran the following commands in version 2.x, version 1.x legacy:

rit go demo
rit java demo
rit python demo
rit test demo
rit formula demo
rit form demo

So, I tested all the mentioned cases and the formulas work normally.
I will close this issue because the bug is not occurring, both in the legacy version and in the new one.

If the error recurs, please open a new issue with more information.
Thank you for your contribution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🪲 bug Report a bug encountered while operating Ritchie
Projects
None yet
Development

No branches or pull requests

3 participants