mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Progress on updating entire compiler for snake_case
This commit is contained in:
parent
db6cc5a7b1
commit
b56fbd38e1
297 changed files with 8416 additions and 8544 deletions
|
@ -409,10 +409,10 @@ function Graph({
|
|||
const edgeChanges: EdgeChange[] = [];
|
||||
|
||||
while (toVariable !== undefined) {
|
||||
const toVariableName = toVariable.toString();
|
||||
const toVariableName = toVariable.to_string();
|
||||
if (canAddVariable(toVariableName, nodes)) {
|
||||
const newVariableNode = newVariable(
|
||||
toVariable.toString(),
|
||||
toVariable.to_string(),
|
||||
{
|
||||
subs,
|
||||
rawVariable: toVariable,
|
||||
|
@ -440,7 +440,7 @@ function Graph({
|
|||
|
||||
const newEdge = addEdge({
|
||||
id: `${fromVariable}->${toVariable}`,
|
||||
source: fromVariable.toString(),
|
||||
source: fromVariable.to_string(),
|
||||
target: toVariableName,
|
||||
markerEnd,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue